Searched hist:"3 aed112953b1877ede66ae77afa4e5a5024be7cb" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/soc/qcom/ |
H A D | rpm_master_stats.c | diff 3aed112953b1877ede66ae77afa4e5a5024be7cb Tue Jun 06 10:21:22 CEST 2023 Dan Carpenter <dan.carpenter@linaro.org> soc: qcom: Fix a IS_ERR() vs NULL bug in probe
The devm_ioremap() function returns NULL on error, it never returns error pointers.
Fixes: a77b2a0b1280 ("soc: qcom: Introduce RPM master stats driver") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/ZH7sgpLAN23bCz9v@moroto
|