Re: [PATCH] thermal: exynos: fix: Check if data-tmu_read callback is present before read

2015-02-19 Thread Abhilash Kesavan
Hi Lukasz, On Mon, Feb 16, 2015 at 3:23 PM, Lukasz Majewski l.majew...@samsung.com wrote: Hi Eduardo, 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

Re: [PATCH] thermal: exynos: fix: Check if data-tmu_read callback is present before read

2015-02-16 Thread Lukasz Majewski
Hi Eduardo, 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.majew...@samsung.com ---

[PATCH] thermal: exynos: fix: Check if data-tmu_read callback is present before read

2015-02-06 Thread Lukasz Majewski
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.majew...@samsung.com --- drivers/thermal/samsung/exynos_tmu.c | 2