summaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2018-04-27 17:07:33 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-29 15:25:08 +0200
commit503075521d8dc8941c1edc03460c009b8fc71d54 (patch)
treea6769fd52aa10162deb50ec71116e6d226fd0001 /tools/perf/util/trace-event-scripting.c
parent3c2b8df02c726f166d7fc4a7260cc4acde489b4a (diff)
staging: fsl-mc/dpio: Fix the error handling in probe()
First of all devm_memremap() function returns an error pointer, it doesn't return NULL. And second we need to set the error code on these paths. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions