diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2021-03-04 13:04:23 +0300 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2021-03-08 13:50:07 +0300 |
commit | 536eb97abeba857126ad055de5923fa592acef25 (patch) | |
tree | b64d701e05c2e3d6e1a2fded125f8f05cfd8f4cf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 02fc409540303801994d076fcdb7064bd634dbf3 (diff) | |
download | linux-536eb97abeba857126ad055de5923fa592acef25.tar.xz |
cpufreq: qcom-hw: Fix return value check in qcom_cpufreq_hw_cpu_init()
In case of error, the function ioremap() returns NULL pointer
not ERR_PTR(). The IS_ERR() test in the return value check
should be replaced with NULL test.
Fixes: 67fc209b527d ("cpufreq: qcom-hw: drop devm_xxx() calls from init/exit hooks")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions