V4L/DVB (6188): Avoid a NULL pointer dereference during mpeg_open()
authorSteven Toth <stoth@hauppauge.com>
Fri, 7 Sep 2007 01:48:35 +0000 (22:48 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 14 Sep 2007 16:13:42 +0000 (13:13 -0300)
commit48200baeab95fd39a7f4c4f3536c7142a64ac335
treec08fb3e4dca3d62b6cd1559797f0b1f05b440ad5
parent4730d3af625b532e3df5f091b5c8edb08f512fbf
V4L/DVB (6188): Avoid a NULL pointer dereference during mpeg_open()

Bug: With a hardware encoder board installed as cx88[1] and a
non-encoder boards installed as cx88[0], an OOPS is generated
during cx8802_get_device() called from mpeg_open().

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx88/cx88-mpeg.c