[PATCH 3/3] [media] exynos4-is: Fix potential NULL pointer dereference

2013-08-02 Thread Sachin Kamat
dev-of_node could be NULL. Hence check for the same and return before dereferencing it in the subsequent error message. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/media/platform/exynos4-is/fimc-lite.c |3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [PATCH 3/3] [media] exynos4-is: Fix potential NULL pointer dereference

2013-08-02 Thread Sylwester Nawrocki
Hi Sachin, On 08/02/2013 08:32 AM, Sachin Kamat wrote: dev-of_node could be NULL. Hence check for the same and return before dereferencing it in the subsequent error message. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/media/platform/exynos4-is/fimc-lite.c |3 +++

Re: [PATCH 3/3] [media] exynos4-is: Fix potential NULL pointer dereference

2013-08-02 Thread Sachin Kamat
Hi Sylwester, On 2 August 2013 14:15, Sylwester Nawrocki s.nawro...@samsung.com wrote: Hi Sachin, On 08/02/2013 08:32 AM, Sachin Kamat wrote: dev-of_node could be NULL. Hence check for the same and return before dereferencing it in the subsequent error message. Signed-off-by: Sachin Kamat