linux/drivers/media/usb
Mauro Carvalho Chehab b5603a943d [media] cx231xx: don't use dev it not allocated
changeset 5eeb301482 added a fixup at the error check
code. However, it introduced a new error:

	drivers/media/usb/cx231xx/cx231xx-cards.c:1586 cx231xx_usb_probe() error: we previously assumed 'dev' could be null (see line 1430)

This happens when dev = kmalloc() fails. So, instead of relying
on it to succeed, just change the parameter of clear_bit() from
'dev->devno' to 'nr'.

Cc: Alexey Khoroshilov <khoroshilov@ispras.ru>
Cc: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-02-02 10:56:55 -02:00
..
airspy
as102
au0828
b2c2
cpia2
cx231xx [media] cx231xx: don't use dev it not allocated 2015-02-02 10:56:55 -02:00
dvb-usb
dvb-usb-v2
em28xx
go7007
gspca [media] gspca_vc032x: Fix wrong bytesperline 2015-01-29 18:28:46 -02:00
hackrf
hdpvr
msi2500
pvrusb2
pwc [media] pwc: fix WARN_ON 2015-01-29 18:27:03 -02:00
s2255
siano
stk1160
stkwebcam
tm6000
ttusb-budget
ttusb-dec
usbtv
usbvision
uvc
zr364xx
Kconfig
Makefile