linux/drivers/media/usb
Julia Lawall bfe40b79e9 [media] as102: fix error return code
Return a negative error code on failure.

A simplified version of the semantic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/)

// <smpl>
@@
identifier ret; expression e1,e2;
@@
(
if (\(ret < 0\|ret != 0\))
 { ... return ret; }
|
ret = 0
)
... when != ret = e1
    when != &ret
*if(...)
{
  ... when != ret = e2
      when forall
 return ret;
}
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-05-01 07:00:51 -03:00
..
airspy
as102 [media] as102: fix error return code 2015-05-01 07:00:51 -03:00
au0828
b2c2
cpia2
cx231xx [media] cx231xx: fix bad indenting 2015-05-01 06:06:49 -03:00
dvb-usb [media] dw2102: fix bad indenting 2015-05-01 06:26:47 -03:00
dvb-usb-v2
em28xx
go7007 [media] go7007: Comment some dead code 2015-05-01 06:09:52 -03:00
gspca [media] xirlink_cit: comment unreachable code 2015-05-01 06:27:08 -03:00
hackrf
hdpvr
msi2500
pvrusb2 [media] pvrusb2: fix inconsistent indenting 2015-05-01 06:12:01 -03:00
pwc
s2255
siano
stk1160
stkwebcam
tm6000
ttusb-budget
ttusb-dec [media] ttusb-dec: fix bad indentation 2015-05-01 06:24:49 -03:00
usbtv
usbvision [media] usbvision: fix bad indentation 2015-05-01 06:25:28 -03:00
uvc
zr364xx
Kconfig
Makefile