commit | ca4e771f7b878b7bab02dedb539f7742f9b4f50e | [log] [tgz] |
---|---|---|
author | Michael Krufky <mkrufky@kernellabs.com> | Sun Jul 19 17:55:35 2009 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Fri Jul 24 14:03:32 2009 -0300 |
tree | 68485b0aa1a17373e71572f7f00c20527c9a39ba | |
parent | 12a34cc8a9a49219ab643c8ec329078eec272b47 [diff] |
V4L/DVB (12303): cx23885: check pointers before dereferencing in dprintk macro 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>