V4L/DVB (12303): cx23885: check pointers before dereferencing in dprintk macro
authorMichael Krufky <mkrufky@kernellabs.com>
Sun, 19 Jul 2009 20:55:35 +0000 (17:55 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 24 Jul 2009 17:03:32 +0000 (14:03 -0300)
When enabling debug with v4l_debug set to 2 or greater, the driver
OOPS's on startup.  Checks dev pointer before dereferencing, in
order to prevent this OOPS.

Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found