aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2017-09-08 16:15:28 -0700
committerLinus Torvalds <[email protected]>2017-09-08 18:26:49 -0700
commit9888a588ea96ba2804f955bbc2667346719da887 (patch)
tree0d8596815377b7f283e7c361e3a9018b99ee3856 /tools/perf/scripts/python
parentf0f1a45f95e85a8ac28c4d62bf2a84db0799efab (diff)
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/[email protected] Signed-off-by: Andy Shevchenko <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Rasmus Villemoes <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions