summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2016-10-19 16:23:50 +0300
committerVinod Koul <vinod.koul@intel.com>2016-10-19 19:59:33 +0300
commite687cd19f1cb9d3bbb16146fe7a8740cf836e481 (patch)
treec05c7f4d06f2c197e9e15b66fca3cba382791005 /tools/perf/scripts/python/call-graph-from-sql.py
parent919b742fb5f4c14a5b171430cd8bdbef75926ad5 (diff)
downloadlinux-e687cd19f1cb9d3bbb16146fe7a8740cf836e481.tar.xz
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 <weiyongjun1@huawei.com> Acked-by: Peter Griffin <peter.griffin@linaro.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions