linux/drivers/thermal/broadcom
Zheng Yongjun e20d136ec7 thermal/drivers/broadcom: Fix potential NULL dereference in sr_thermal_probe
platform_get_resource() may return NULL, add proper check to
avoid potential NULL dereferencing.

Fixes: 250e211057 ("thermal: broadcom: Add Stingray thermal driver")
Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Link: https://lore.kernel.org/r/20220425092929.90412-1-zhengyongjun3@huawei.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
2022-05-19 12:11:52 +02:00
..
bcm2711_thermal.c thermal/drivers/bcm2711: Don't clamp temperature at zero 2022-05-19 12:11:51 +02:00
bcm2835_thermal.c thermal/drivers/bcm2835: Remove redundant dev_err call in bcm2835_thermal_probe() 2021-04-20 08:58:47 +02:00
brcmstb_thermal.c thermal/drivers/brcmstb_thermal: Interrupt is optional 2022-03-08 21:26:09 +01:00
Kconfig
Makefile
ns-thermal.c
sr-thermal.c thermal/drivers/broadcom: Fix potential NULL dereference in sr_thermal_probe 2022-05-19 12:11:52 +02:00