]> git.baikalelectronics.ru Git - kernel.git/commit
[media] exynos4-is: Fix potential null pointer dereferencing
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 16 Apr 2013 06:02:19 +0000 (03:02 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 25 Apr 2013 12:32:57 +0000 (09:32 -0300)
commitea4890f5a9e090f1347ba587acb9b5fd940b5804
tree81c7d81bd11cba3346ab041778af57c628d4317b
parenta6161f6fe892db2603b87d92bbcad9e623d91caa
[media] exynos4-is: Fix potential null pointer dereferencing

If fimc->drv_data is NULL, then fimc->drv_data->num_entities would
cause NULL pointer dereferencing. Hence remove it from print statement.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/exynos4-is/fimc-core.c