aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorDaniel Lezcano <[email protected]>2022-10-03 15:29:43 +0200
committerDaniel Lezcano <[email protected]>2023-01-06 14:14:48 +0100
commita1c306375b0638f37996bbda1e3a75c6f108a097 (patch)
tree41ce5cf7c9b832b74c45b3098e9ad178ea7723e8 /tools/testing/selftests/bpf/progs/test_autoload.c
parentd3ecaf17b58607c240392e810a743fbb9e1e8262 (diff)
thermal/drivers/exynos: Fix NULL pointer dereference when getting the critical temp
The driver is assuming the get_critical temperature exists as it is inherited by the thermal of ops. But this one has been removed in favor of the generic one. Use the generic thermal_zone_get_crit_temp() function instead Fixes: 13bea86623be ("thermal/of: Remove of_thermal_get_crit_temp(") Reported-by: Marek Szyprowski <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Tested-by: Marek Szyprowski <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions