linux/drivers/media/usb/dvb-usb-v2
Julia Lawall 6c49d79381 [media] ec168: fix error return code
The rest of the function uses ret to store the return value, even setting
ret to i a few lines before this, so return ret instead of i.

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: Julia Lawall <Julia.Lawall@lip6.fr>
Cc: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2014-01-07 09:19:03 -02:00
..
af9015.c [media] af9015: Don't use dynamic static allocation 2013-11-08 09:45:45 -02:00
af9015.h [media] af9015: do not use buffers from stack for usb_bulk_msg() 2013-03-18 16:51:17 -03:00
af9035.c [media] af9035: add [0413:6a05] Leadtek WinFast DTV Dongle Dual 2013-12-10 09:09:19 -02:00
af9035.h [media] af9035: correct TS mode handling 2013-06-08 21:45:22 -03:00
anysee.c [media] anysee: fix non-working E30 Combo Plus DVB-T 2013-12-20 14:24:20 -02:00
anysee.h [media] anysee: do not use buffers from stack for usb_bulk_msg() 2013-03-18 16:54:26 -03:00
au6610.c [media] au6610: use Kernel dev_foo() logging 2012-09-23 20:50:03 -03:00
au6610.h
az6007.c [media] az6007: support Technisat Cablestar Combo HDCI (minus remote) 2013-12-10 07:15:54 -02:00
ce6230.c [media] ce6230: use Kernel dev_foo() logging 2012-09-23 20:50:42 -03:00
ce6230.h [media] dvb_usb_v2: use dvb_usb_dbg_usb_control_msg() 2012-09-15 11:35:59 -03:00
dvb_usb_common.h
dvb_usb_core.c [media] dvb_usb_v2: get rid of deferred probe 2013-08-18 07:55:06 -03:00
dvb_usb_urb.c [media] dvb_usb_v2: make checkpatch.pl happy 2013-03-23 09:59:56 -03:00
dvb_usb.h [media] dvb_usb_v2: get rid of deferred probe 2013-08-18 07:55:06 -03:00
ec168.c [media] ec168: fix error return code 2014-01-07 09:19:03 -02:00
ec168.h [media] ec168: declare MODULE_FIRMWARE 2012-09-23 20:08:21 -03:00
gl861.c [media] gl861: use Kernel dev_foo() logging 2012-09-23 20:50:13 -03:00
gl861.h
it913x.c [media] it913x: Add support for Avermedia H335 id 0x0335 2013-12-18 10:27:53 -02:00
Kconfig [media] dvb-usb-v2: fix Kconfig dependency when RC_CORE=m 2013-07-26 10:12:53 -03:00
lmedm04.c [media] lme2510: do not use bInterfaceNumber from dvb_usb_v2 2013-08-18 07:54:37 -03:00
lmedm04.h
Makefile [media] media: move dvb-usb-v2/cypress_firmware.c to media/common 2013-03-29 11:35:06 -03:00
mxl111sf-demod.c
mxl111sf-demod.h [media] dvb-usb/dvb-usb-v2: use IS_ENABLED 2013-03-23 09:33:30 -03:00
mxl111sf-gpio.c
mxl111sf-gpio.h
mxl111sf-i2c.c
mxl111sf-i2c.h
mxl111sf-phy.c
mxl111sf-phy.h
mxl111sf-reg.h
mxl111sf-tuner.c [media] mxl111sf: don't redefine pr_err/info/debug 2013-06-19 11:08:44 -03:00
mxl111sf-tuner.h [media] dvb-usb/dvb-usb-v2: use IS_ENABLED 2013-03-23 09:33:30 -03:00
mxl111sf.c [media] media_tree: Fix spelling errors 2013-12-09 14:50:50 -02:00
mxl111sf.h
rtl28xxu.c [media] Add USB IDs for Winfast DTV Dongle Mini-D 2013-12-19 09:26:15 -02:00
rtl28xxu.h [media] rtl28xxu: add RTL2832P + R828D support 2013-10-31 06:09:49 -02:00
usb_urb.c [media] dvb_usb_v2: make checkpatch.pl happy 2013-03-23 09:59:56 -03:00