]> git.karo-electronics.de Git - karo-tx-linux.git/commit
lib-string-introduce-match_string-helper fix
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 9 Feb 2016 23:13:18 +0000 (10:13 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 9 Feb 2016 23:13:18 +0000 (10:13 +1100)
commit6087848be8cebdbced9f45e4cb687384a316e26f
tree6f1eb25a18fdaafa4edc1cc072febda207d23cf2
parent669fe3715be02b48f333846c7f2429bed0378acf
lib-string-introduce-match_string-helper fix

Fix return code to be -EINVAL instead of -ENODATA.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/string.c