init/do_mounts: better syntax description
authorPavel Machek <pavel@ucw.cz>
Tue, 26 Aug 2014 11:49:35 +0000 (13:49 +0200)
committerJiri Kosina <jkosina@suse.cz>
Thu, 28 Aug 2014 12:46:26 +0000 (14:46 +0200)
Specify hex device number unambiquously.

Signed-off-by: Pavel Machek <pavel@denx.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
init/do_mounts.c

index 82f2288..9b3565c 100644 (file)
@@ -182,7 +182,8 @@ done:
 /*
  *     Convert a name into device number.  We accept the following variants:
  *
- *     1) device number in hexadecimal represents itself
+ *     1) <hex_major><hex_minor> device number in hexadecimal represents itself
+ *         no leading 0x, for example b302.
  *     2) /dev/nfs represents Root_NFS (0xff)
  *     3) /dev/<disk_name> represents the device number of disk
  *     4) /dev/<disk_name><decimal> represents the device number