summaryrefslogtreecommitdiff
path: root/include/linux/assoc_array.h
diff options
context:
space:
mode:
authorZheng Yongjun <zhengyongjun3@huawei.com>2022-04-25 09:29:29 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-09 10:21:11 +0200
commit79098339ac2065f4b4352ef5921628970b6f47e6 (patch)
tree8488a6d4879a99a9fc3b61d5b15ddc6de67420df /include/linux/assoc_array.h
parent83603802954068ccd1b8a3f2ccbbaf5e0862acb0 (diff)
thermal/drivers/broadcom: Fix potential NULL dereference in sr_thermal_probe
[ Upstream commit e20d136ec7d6f309989c447638365840d3424c8e ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/assoc_array.h')
0 files changed, 0 insertions, 0 deletions