summaryrefslogtreecommitdiff
path: root/tools/thermal/thermometer
diff options
context:
space:
mode:
authorZheng Yongjun <zhengyongjun3@huawei.com>2022-04-25 12:29:29 +0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2022-05-19 13:11:52 +0300
commite20d136ec7d6f309989c447638365840d3424c8e (patch)
treecfd59a03e35820a0e3e8249e97640616588de4f4 /tools/thermal/thermometer
parent077df623c8344e4b50a7ba6c433f9d6857a94d6b (diff)
downloadlinux-e20d136ec7d6f309989c447638365840d3424c8e.tar.xz
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: 250e211057c72 ("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>
Diffstat (limited to 'tools/thermal/thermometer')
0 files changed, 0 insertions, 0 deletions