kernel-fxtec-pro1x/drivers/media/radio
Julia Lawall 44b0c738c7 [media] radio: 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:02:16 -03:00
..
si470x [media] si470x: fixup wait_for_completion_timeout return handling 2015-03-02 14:55:44 -03:00
si4713 [media] si4713: fix error return code 2015-05-01 07:00:31 -03:00
wl128x [media] wl128x: fix int type for streg_cbdata 2015-04-30 13:40:05 -03:00
dsbr100.c
Kconfig
lm7000.h
Makefile
radio-aimslab.c
radio-aztech.c
radio-cadet.c
radio-gemtek.c
radio-isa.c
radio-isa.h
radio-keene.c
radio-ma901.c
radio-maxiradio.c
radio-miropcm20.c
radio-mr800.c
radio-raremono.c
radio-rtrack2.c
radio-sf16fmi.c
radio-sf16fmr2.c
radio-shark.c
radio-shark2.c
radio-si476x.c [media] radio-si476x: Fix indent 2015-04-30 13:35:29 -03:00
radio-tea5764.c
radio-tea5777.c
radio-tea5777.h
radio-terratec.c
radio-timb.c [media] radio: fix error return code 2015-05-01 07:02:16 -03:00
radio-trust.c
radio-typhoon.c
radio-wl1273.c [media] media: radio: handle timeouts 2015-03-02 16:50:42 -03:00
radio-zoltrix.c
saa7706h.c
tea575x.c
tef6862.c