summaryrefslogtreecommitdiffstats
path: root/drivers/perf
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2020-06-28 04:30:55 +0200
committerStephen Boyd <sboyd@kernel.org>2020-06-29 23:15:34 +0200
commitdbb988b4e7eb924ffceaa2a7da6e794c868cb2f3 (patch)
treeb685e59a7382f5e87dd08051c94973411aae726b /drivers/perf
parentclk: qcom: smd: Add support for MSM8936 rpm clocks (diff)
downloadlinux-dbb988b4e7eb924ffceaa2a7da6e794c868cb2f3.tar.xz
linux-dbb988b4e7eb924ffceaa2a7da6e794c868cb2f3.zip
clk: qcom: Fix return value check in apss_ipq6018_probe()
In case of error, the function dev_get_regmap() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Fixes: 5e77b4ef1b19 ("clk: qcom: Add ipq6018 apss clock controller") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Link: https://lore.kernel.org/r/20200628023055.50608-1-weiyongjun1@huawei.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/perf')
0 files changed, 0 insertions, 0 deletions