]> 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)
commit7543f4bd3816f08aee64971625f3f76a74c943ea
tree50c2aa3c1682e79db6d7ff4f192383f76de1ec9e
parentdd6d23d540faf02580458932d920d96ee078f2af
[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