diff options
| author | Michael Krufky <mkrufky@kernellabs.com> | 2009-07-19 17:55:35 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-07-24 14:03:32 -0300 |
| commit | ca4e771f7b878b7bab02dedb539f7742f9b4f50e (patch) | |
| tree | 68485b0aa1a17373e71572f7f00c20527c9a39ba /lib/dynamic_debug.c | |
| parent | V4L/DVB (12302): cx23885-417: fix broken IOCTL handling (diff) | |
| download | linux-ca4e771f7b878b7bab02dedb539f7742f9b4f50e.tar.gz linux-ca4e771f7b878b7bab02dedb539f7742f9b4f50e.zip | |
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>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
