[media] exynos4-is: Fix potential null pointer dereference in mipi-csis.c
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 26 Apr 2013 07:52:57 +0000 (04:52 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 21 May 2013 11:33:52 +0000 (08:33 -0300)
commit2031941502339d548cd51bf34e6ebb8bc3bb2d89
treed1590dd5926a15c89d35491ef0fa6b9afe4df959
parenta2ac2d792cb6a22eb86ef4e026ba74c3ea6e67ee
[media] exynos4-is: Fix potential null pointer dereference in mipi-csis.c

When 'node' is NULL, the print statement tries to dereference it.
Hence replace the variable with the one that is accessible.

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/mipi-csis.c