diff options
author | Wei Yongjun <[email protected]> | 2016-10-19 13:23:50 +0000 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2016-10-19 22:29:33 +0530 |
commit | e687cd19f1cb9d3bbb16146fe7a8740cf836e481 (patch) | |
tree | c05c7f4d06f2c197e9e15b66fca3cba382791005 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 919b742fb5f4c14a5b171430cd8bdbef75926ad5 (diff) |
dmaengine: st_fdma: Fix the error return code in st_fdma_probe()
In case of error, the function st_slim_rproc_alloc() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check should
be replaced with IS_ERR().
Signed-off-by: Wei Yongjun <[email protected]>
Acked-by: Peter Griffin <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions