]> git.karo-electronics.de Git - karo-tx-linux.git/commit
lib/parser.c: fix up comments for valid return values from match_number
authorNamjae Jeon <namjae.jeon@samsung.com>
Thu, 7 Feb 2013 01:27:36 +0000 (12:27 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 18 Feb 2013 05:47:10 +0000 (16:47 +1100)
commit0fbf7bfc71780a27c6196c9bdaca8d003d38654d
tree9f59c8b71a3d20b7a5b779d0bb430f3efb092c2a
parentd0ada6d5f1e122135fbad559631933a5e9dddc83
lib/parser.c: fix up comments for valid return values from match_number

match_number() has return values of -ENOMEM, -EINVAL and -ERANGE.  So, for
all the functions calling match_number, the return value should include
these values.  Fix up the comments to reflect the correct values.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Amit Sahrawat <a.sahrawat@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/parser.c