]> git.karo-electronics.de Git - linux-beck.git/commitdiff
UBI: add in hex the value for UBI_INTERNAL_VOL_START to comment
authorJoel Reardon <joel@clambassador.com>
Sun, 20 May 2012 11:42:29 +0000 (13:42 +0200)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Sun, 20 May 2012 18:30:45 +0000 (21:30 +0300)
Explicitly provide the first internal volume ID value in the comment for
UBI_INTERNAL_VOL_START. This allows developers who, when adding features
related to volume ids and observe unexpected very large volume ids, to grep
for the observed value in the source code and find out immediately that it is
expected behaviour.

Signed-off-by: Joel Reardon <reardonj@inf.ethz.ch>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/ubi/ubi-media.h

index 07cd88f2b2036d66280fd7697cac82a80ea5d250..468ffbc0eabd54e6adaffaf8a21d3a18674446d7 100644 (file)
@@ -298,8 +298,8 @@ struct ubi_vid_hdr {
 #define UBI_INT_VOL_COUNT 1
 
 /*
- * Starting ID of internal volumes. There is reserved room for 4096 internal
- * volumes.
+ * Starting ID of internal volumes: 0x7fffefff.
+ * There is reserved room for 4096 internal volumes.
  */
 #define UBI_INTERNAL_VOL_START (0x7FFFFFFF - 4096)