linux/drivers/media/usb
Mauro Carvalho Chehab 4001dfb4b5 [media] cx231xx-i2c: handle errors with cx231xx_get_i2c_adap()
The cx231xx_get_i2c_adap() function should return the I2C
adapter that will be used to talk with a device. It should never
be NULL, as otherwise the driver will try to dereference a
null pointer.

We might instead fix the callers, but if this condition
ever happens, it is really a driver bug, because i2c_port
should always be a value from enum CX231XX_I2C_MASTER_PORT.

Found when checking the code due to this bug:

[   39.769021] BUG: unable to handle kernel NULL pointer dereference at 0000000000000002
[   39.769105] IP: [<ffffffff81638393>] i2c_master_send+0x13/0x70

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-09-05 15:26:34 -03:00
..
airspy [media] media: usb: airspy: airspy: don't print error when allocating urb fails 2016-08-24 08:47:59 -03:00
as102 [media] media: usb: as102: as102_usb_drv: don't print error when allocating urb fails 2016-08-24 08:48:19 -03:00
au0828 [media] media: usb: au0828: au0828-video: don't print error when allocating urb fails 2016-08-24 08:48:38 -03:00
b2c2 [media] media: change email address 2016-01-25 12:01:08 -02:00
cpia2 [media] media: usb: cpia2: cpia2_usb: don't print error when allocating urb fails 2016-08-24 08:48:56 -03:00
cx231xx [media] cx231xx-i2c: handle errors with cx231xx_get_i2c_adap() 2016-09-05 15:26:34 -03:00
dvb-usb [media] media: usb: dvb-usb: dib0700_core: don't print error when allocating urb fails 2016-08-24 08:50:15 -03:00
dvb-usb-v2 [media] media: usb: dvb-usb-v2: dvb_usb_core: don't print error when adding adapter fails 2016-08-24 13:57:58 -03:00
em28xx [media] media: usb: em28xx: em28xx-core: don't print error when allocating urb fails 2016-08-24 08:50:52 -03:00
go7007 [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
gspca [media] gspca: finepix: Remove deprecated create_singlethread_workqueue 2016-08-24 09:30:21 -03:00
hackrf [media] drivers: hackrf: fixed a coding style issue 2016-08-25 09:45:27 -03:00
hdpvr [media] media: usb: hdpvr: hdpvr-video: don't print error when allocating urb fails 2016-08-24 09:24:40 -03:00
msi2500 [media] media: usb: msi2500: msi2500: don't print error when allocating urb fails 2016-08-24 09:24:58 -03:00
pvrusb2 [media] pvrusb2: convert g/s_crop to g/s_selection 2016-08-24 09:54:30 -03:00
pwc [media] media: usb: pwc: pwc-if: don't print error when allocating urb fails 2016-08-24 09:25:20 -03:00
s2255 [media] media: usb: s2255: s2255drv: don't print error when allocating urb fails 2016-08-24 09:25:42 -03:00
siano [media] media_device: move allocation out of media_device_*_init 2016-02-23 07:19:39 -03:00
stk1160 [media] media: usb: stk1160: stk1160-video: don't print error when allocating urb fails 2016-08-24 09:26:01 -03:00
stkwebcam [media] media: usb: stkwebcam: stk-webcam: don't print error when allocating urb fails 2016-08-24 09:26:20 -03:00
tm6000 [media] media: usb: tm6000: tm6000-video: don't print error when allocating urb fails 2016-08-24 09:26:58 -03:00
ttusb-budget
ttusb-dec [media] ttusb-dec: constify ttusbdecfe_config structure 2015-11-19 11:22:15 -02:00
usbtv [media] media: usbtv: prevent access to free'd resources 2016-07-12 13:31:08 -03:00
usbvision [media] media: usb: usbvision: usbvision-core: don't print error when allocating urb fails 2016-08-24 09:27:16 -03:00
uvc Linux 4.7-rc6 2016-07-08 18:14:03 -03:00
zr364xx [media] media: usb: zr364xx: zr364xx: don't print error when allocating urb fails 2016-08-24 09:27:34 -03:00
Kconfig
Makefile