]> git.baikalelectronics.ru Git - kernel.git/commit
[media] s5p-tv: Fix potential NULL pointer dereference error
authorSachin Kamat <sachin.kamat@linaro.org>
Sat, 22 Sep 2012 06:39:19 +0000 (03:39 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 2 Oct 2012 17:02:03 +0000 (14:02 -0300)
commit51245bf137b0efdbb527e9be911b45538afb4ecf
tree50c2aa3c1682e79db6d7ff4f192383f76de1ec9e
parente89ab1914e9ce84629eead54b79da4e71765adc1
[media] s5p-tv: Fix potential NULL pointer dereference error

When mdev is NULL, the error print statement will try to dereference
the NULL pointer.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Tomasz Stanislawski <t.stanislaws@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/s5p-tv/mixer_drv.c