summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx18
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2008-05-26 06:31:17 +0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-06-05 11:35:44 +0200
commit3b4a9714f43a1d675a4352260a12daae197f37c3 (patch)
treea095208ac75a02bf70ed33d4f4440ebaa354276e /drivers/media/video/cx18
parentV4L/DVB (7919): VIDEO_AU0828 does not depend on VIDEO_DEV (diff)
downloadlinux-3b4a9714f43a1d675a4352260a12daae197f37c3.tar.xz
linux-3b4a9714f43a1d675a4352260a12daae197f37c3.zip
V4L/DVB (7922): tuner-simple: fix tuner_warn() induced kernel oops in simple_tuner_attach()
The tuner_warn() macro relies on the local variable "priv" to be a valid pointer. There was a case in simple_tuner_attach() where this cannot be the case yet, so tuner_warn() would dereference a NULL "priv" pointer. Changed the tuner_warn() to a printk() with the originally intended output format. Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cx18')
0 files changed, 0 insertions, 0 deletions