c072fed95c
exynos_unregister_thermal() is functional only when 'th_zone' is not NULL (ensured by the NULL checks). However, in the event it is NULL, it gets dereferenced in the for loop. This patch fixes this issue. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> |
||
---|---|---|
.. | ||
cpu_cooling.c | ||
exynos_thermal.c | ||
Kconfig | ||
Makefile | ||
rcar_thermal.c | ||
spear_thermal.c | ||
thermal_sys.c |