Re: [PATCH] thermal: broadcom: Fix potential NULL dereference in sr_thermal_probe

From: Daniel Lezcano
Date: Mon Apr 25 2022 - 14:25:55 EST


On 25/04/2022 11:29, Zheng Yongjun wrote:
platform_get_resource() may return NULL, add proper check to
avoid potential NULL dereferencing.

Fixes: 250e211057c72 ("thermal: broadcom: Add Stingray thermal driver")
Signed-off-by: Zheng Yongjun <zhengyongjun3@xxxxxxxxxx>
---

Applied, thanks

--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog