linux/drivers/media/usb
Peter Senna Tschudin 304a0807a2 [media] drivers/media/usb/hdpvr/hdpvr-core.c: fix error return code
Convert a nonnegative error return code to a negative one, as returned
elsewhere in the function.
A simplified version of the semantic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/)
// <smpl>
(
if@p1 (\(ret < 0\|ret != 0\))
 { ... return ret; }
|
ret@p1 = 0
)
... when != ret = e1
    when != &ret
*if(...)
{
  ... when != ret = e2
      when forall
 return ret;
}
// </smpl>

Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-11-22 14:22:31 -02:00
..
au0828 [media] au0828-dvb: ret is never tested. Get rid of it 2012-10-28 07:39:02 -02:00
b2c2
cpia2
cx231xx [media] cx231xx-avcore: get rid of a sophisticated do-nothing code 2012-10-27 18:12:13 -02:00
dvb-usb [media] vp702x: get rid of warning: no previous prototype 2012-10-27 18:14:14 -02:00
dvb-usb-v2 [media] it913x [BUG] Enable endpoint 3 on devices with HID interface 2012-10-28 16:59:26 -02:00
em28xx [media] em28xx-cards: fix a warning 2012-10-28 07:38:56 -02:00
gspca [media] gspca-sonixb: Add USB-id for Genius Eye 310 2012-11-21 13:07:50 -02:00
hdpvr [media] drivers/media/usb/hdpvr/hdpvr-core.c: fix error return code 2012-11-22 14:22:31 -02:00
pvrusb2 [media] pvr2: fix minor storage 2012-11-21 18:10:33 -02:00
pwc [media] pwc: Fix codec1 cameras no longer working 2012-11-21 13:05:57 -02:00
s2255 [media] s2255drv: index is always positive 2012-10-28 07:38:57 -02:00
siano [media] siano: fix RC compilation 2012-11-07 11:09:08 +01:00
sn9c102 [media] v4l2: sn9c102 incorrectly blocks FMT_SN9C10X 2012-11-21 18:10:34 -02:00
stk1160 [media] stk1160: Try to continue with fewer transfer buffers 2012-11-21 12:04:22 -02:00
stkwebcam [media] stkwebcam: Fix sparse warning on undeclared symbol 2012-11-21 15:23:14 -02:00
tlg2300 [media] tlg2300: index is unsigned, so never below zero 2012-10-28 07:38:51 -02:00
tm6000 [media] drivers/media/usb/tm6000/tm6000-video.c: fix error return code 2012-11-22 14:20:40 -02:00
ttusb-budget
ttusb-dec
usbvision [media] usbvision-core: fix a warning 2012-10-28 07:38:58 -02:00
uvc
zr364xx [media] zr364xx: urb actual_length is unsigned 2012-10-28 07:38:59 -02:00
Kconfig
Makefile