diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-09-11 16:37:51 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-09-28 03:22:00 +0200 |
commit | c10469c637602c2385e2993d8c730cc44fd47d23 (patch) | |
tree | 1787a8c57680639112f331f15a7b4819c220955b /drivers/media/video/videobuf-dma-sg.c | |
parent | V4L/DVB: dvb: fix smscore_getbuffer() logic (diff) | |
download | linux-c10469c637602c2385e2993d8c730cc44fd47d23.tar.xz linux-c10469c637602c2385e2993d8c730cc44fd47d23.zip |
V4L/DVB: cx231xx: Avoid an OOPS when card is unknown (card=0)
As reported by: Carlos Americo Domiciano <c_domiciano@yahoo.com.br>:
[ 220.033500] cx231xx v4l2 driver loaded.
[ 220.033571] cx231xx #0: New device Conexant Corporation Polaris AV Capturb @ 480 Mbps (1554:5010) with 6 interfaces
[ 220.033577] cx231xx #0: registering interface 0
[ 220.033591] cx231xx #0: registering interface 1
[ 220.033654] cx231xx #0: registering interface 6
[ 220.033910] cx231xx #0: Identified as Unknown CX231xx video grabber (card=0)
[ 220.033946] BUG: unable to handle kernel NULL pointer dereference at (null)
[ 220.033955] IP: [<ffffffffa0d3c8bd>] cx231xx_pre_card_setup+0x5d/0xb0 [cx231xx]
Thanks-to: Carlos Americo Domiciano <c_domiciano@yahoo.com.br>
Cc: stable@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/videobuf-dma-sg.c')
0 files changed, 0 insertions, 0 deletions