aboutsummaryrefslogtreecommitdiffstats
path: root/lib/flex_array.c
diff options
context:
space:
mode:
authorLukasz Majewski <[email protected]>2015-02-06 13:07:10 +0000
committerZhang Rui <[email protected]>2015-02-20 13:57:02 +0000
commit4531fa1684bb883ee01f1a182900b1e15d461b34 (patch)
tree835ca67f5df7664fd87b6b25ef9f1feb73d1a1e6 /lib/flex_array.c
parentMerge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalent... (diff)
downloadkernel-4531fa1684bb883ee01f1a182900b1e15d461b34.tar.gz
kernel-4531fa1684bb883ee01f1a182900b1e15d461b34.zip
thermal: exynos: fix: Check if data->tmu_read callback is present before read
The exynos_tmu_data() function should on entrance test not only for valid data pointer, but also for data->tmu_read one. It is important, since afterwards it is dereferenced to get temperature code. Signed-off-by: Lukasz Majewski <[email protected]> Tested-by: Abhilash Kesavan <[email protected]> Signed-off-by: Zhang Rui <[email protected]>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions