diff options
author | Zheng Yongjun <[email protected]> | 2022-04-25 09:29:29 +0000 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2022-05-19 12:11:52 +0200 |
commit | e20d136ec7d6f309989c447638365840d3424c8e (patch) | |
tree | cfd59a03e35820a0e3e8249e97640616588de4f4 /scripts/gdb/linux/tasks.py | |
parent | 077df623c8344e4b50a7ba6c433f9d6857a94d6b (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions