diff options
author | Wei Yongjun <[email protected]> | 2020-06-28 02:30:55 +0000 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2020-06-29 14:15:34 -0700 |
commit | dbb988b4e7eb924ffceaa2a7da6e794c868cb2f3 (patch) | |
tree | b685e59a7382f5e87dd08051c94973411aae726b /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 59390282b7542c6050c1deaca0b2949180903175 (diff) |
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 <[email protected]>
Signed-off-by: Wei Yongjun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions