aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2018-05-16 11:48:07 +0300
committerVinod Koul <[email protected]>2018-05-17 09:57:34 +0530
commitfd8d26adc9a909c0c099265cb62d5e5ec2a87e7e (patch)
tree893b264807ec03f619e722dd5b6badc1f33a838e /tools/perf/util/scripting-engines/trace-event-python.c
parente7f063ae1a31e953bd2460d81697d18408f03641 (diff)
dmaengine: sprd: fix an NULL vs IS_ERR() bug
We recently cleaned this code up but we need to update the error handling as well. The devm_ioremap_resource() returns error pointers on error, never NULL. Fixes: e7f063ae1a31 ("dmaengine: sprd: Use devm_ioremap_resource() to map memory") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Baolin Wang <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions