summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorSachin Kamat2012-09-27 12:50:38 +0200
committerZhang Rui2012-09-28 02:23:21 +0200
commitc072fed95c9855a920c114d7fa3351f0f54ea06e (patch)
treeeefe9fd7ae447aea14a9c8c6341c3479d968df2b /drivers/acpi
parentThermal: Fix bug on cpu_cooling, cooling device's id conflict problem. (diff)
downloadkernel-qcow2-linux-c072fed95c9855a920c114d7fa3351f0f54ea06e.tar.gz
kernel-qcow2-linux-c072fed95c9855a920c114d7fa3351f0f54ea06e.tar.xz
kernel-qcow2-linux-c072fed95c9855a920c114d7fa3351f0f54ea06e.zip
thermal: Exynos: Fix NULL pointer dereference in exynos_unregister_thermal()
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>
Diffstat (limited to 'drivers/acpi')
0 files changed, 0 insertions, 0 deletions