]> 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>
Wed, 20 Feb 2013 02:15:32 +0000 (13:15 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:53:18 +0000 (16:53 +1100)
commit8ce7dff6c2846fa7060e50971f598579e070afb2
tree28c65e6a45fbd48d52aff655b2f58789df0d5e94
parentf4ec33244bd5917dcc149a98e2cf0671b7f52909
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