]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: exynos: Fix potential NULL pointer dereference
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 19 Aug 2013 06:28:42 +0000 (11:58 +0530)
committerEduardo Valentin <eduardo.valentin@ti.com>
Thu, 29 Aug 2013 13:37:28 +0000 (09:37 -0400)
commit190de35847379b27f09e46da06feb8a2e4c91f22
tree5653e70fbece51a7f2bd8e50dd1c11ab204a4ff3
parente7fc88dd76ad0e4454c9ef24b74eb08a0196f965
thermal: exynos: Fix potential NULL pointer dereference

NULL pointer was being dereferenced in its own error message.
Changed it to the correct device pointer.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
drivers/thermal/samsung/exynos_thermal_common.c