diff options
author | 2015-02-06 14:07:10 +0100 | |
---|---|---|
committer | 2015-02-20 21:57:02 +0800 | |
commit | 4531fa1684bb883ee01f1a182900b1e15d461b34 (patch) | |
tree | 835ca67f5df7664fd87b6b25ef9f1feb73d1a1e6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal (diff) | |
download | wireguard-linux-4531fa1684bb883ee01f1a182900b1e15d461b34.tar.xz wireguard-linux-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 <l.majewski@samsung.com>
Tested-by: Abhilash Kesavan <a.kesavan@samsung.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions