linux/drivers/media/usb
Peter Senna Tschudin 8c96f0a207 [media] drivers/media/usb/gspca/cpia1.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: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-09-13 17:42:16 -03:00
..
au0828
b2c2
cpia2
cx231xx
dvb-usb [media] dvb-usb: remove unused files 2012-09-13 13:37:36 -03:00
dvb-usb-v2 [media] dvb_usb_v2: use ratelimited debugs where appropriate 2012-09-13 13:37:09 -03:00
em28xx
gspca [media] drivers/media/usb/gspca/cpia1.c: fix error return code 2012-09-13 17:42:16 -03:00
hdpvr
pvrusb2
pwc [media] pwc: Remove unneeded struct vb2_queue clearing 2012-09-13 17:42:15 -03:00
s2255
siano
sn9c102
stk1160
stkwebcam
tlg2300
tm6000
ttusb-budget
ttusb-dec
usbvision
uvc
zr364xx
Kconfig
Makefile