summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2018-10-10 06:59:39 +0300
committerBjorn Andersson <bjorn.andersson@linaro.org>2018-10-10 09:08:07 +0300
commit6e6b1ada0c6a745b0190016b1f50b699a625a944 (patch)
tree07c57ecde75f3d7742ad0e24cc26685788f4a403 /tools/perf/scripts/python/export-to-sqlite.py
parentffa5f9c84810ea175226863f66a51bb2d4502f5b (diff)
downloadlinux-6e6b1ada0c6a745b0190016b1f50b699a625a944.tar.xz
remoteproc: qcom: qcom_q6v5_adsp: Fix some return value check
In case of error, the functions devm_kcalloc() and devm_ioremap() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Also removed -EPROBE_DEFER check since devm_kcalloc never return this error. Fixes: dc160e449122 ("remoteproc: qcom: Introduce Non-PAS ADSP PIL driver") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions