diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-09-09 01:15:28 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-09-09 03:26:49 +0200 |
commit | 9888a588ea96ba2804f955bbc2667346719da887 (patch) | |
tree | 0d8596815377b7f283e7c361e3a9018b99ee3856 /lib/swiotlb.c | |
parent | block/cfq: cache rightmost rb_node (diff) | |
download | linux-9888a588ea96ba2804f955bbc2667346719da887.tar.xz linux-9888a588ea96ba2804f955bbc2667346719da887.zip |
lib/hexdump.c: return -EINVAL in case of error in hex2bin()
In some cases caller would like to use error code directly without
shadowing.
-EINVAL feels a rightful code to return in case of error in hex2bin().
Link: http://lkml.kernel.org/r/20170731135510.68023-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/swiotlb.c')
0 files changed, 0 insertions, 0 deletions