linux/drivers/media/radio
Peter Senna Tschudin 8ca7080443 [media] drivers/media/radio/radio-cadet.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:20:34 -02:00
..
si470x [media] drivers/media: Remove unnecessary semicolon 2012-10-07 09:15:18 -03:00
wl128x [media] fmdrv: Don't check if unsigned are below zero 2012-10-28 07:39:04 -02:00
dsbr100.c
Kconfig
lm7000.h
Makefile
radio-aimslab.c [media] radio-aimslab.c: get rid of warning: no previous prototype 2012-10-27 18:07:44 -02:00
radio-aztech.c
radio-cadet.c [media] drivers/media/radio/radio-cadet.c: fix error return code 2012-11-22 14:20:34 -02:00
radio-gemtek.c
radio-isa.c [media] radio-isa: get rid of warning: no previous prototype 2012-10-27 18:08:02 -02:00
radio-isa.h
radio-keene.c [media] v4l2: make vidioc_s_modulator const 2012-09-26 10:58:02 -03:00
radio-maxiradio.c
radio-miropcm20.c [media] v4l2: make vidioc_s_audio const 2012-09-26 10:50:12 -03:00
radio-mr800.c [media] radio drivers: in non-blocking mode return EAGAIN in hwseek 2012-09-26 17:51:41 -03:00
radio-rtrack2.c
radio-sf16fmi.c [media] radio-sf16fmi: get rid of warning: no previous prototype 2012-10-27 18:08:13 -02:00
radio-sf16fmr2.c
radio-shark2.c [media] shark,shark2: declare resume/suspend functions as static 2012-09-13 17:42:13 -03:00
radio-shark.c [media] shark,shark2: declare resume/suspend functions as static 2012-09-13 17:42:13 -03:00
radio-si4713.c [media] v4l2: make vidioc_s_modulator const 2012-09-26 10:58:02 -03:00
radio-tea5764.c radio tea5764, si4713: get rid of warning: no previous prototype 2012-10-28 07:39:06 -02:00
radio-tea5777.c [media] radio drivers: in non-blocking mode return EAGAIN in hwseek 2012-09-26 17:51:41 -03:00
radio-tea5777.h [media] radio-shark2: Add support for suspend & resume 2012-09-13 17:42:11 -03:00
radio-terratec.c
radio-timb.c [media] v4l2: make vidioc_s_audio const 2012-09-26 10:50:12 -03:00
radio-trust.c
radio-typhoon.c
radio-wl1273.c [media] radio drivers: in non-blocking mode return EAGAIN in hwseek 2012-09-26 17:51:41 -03:00
radio-zoltrix.c
saa7706h.c [media] saa7706h: convert struct i2c_msg initialization to C99 format 2012-09-27 07:40:10 -03:00
si4713-i2c.c radio tea5764, si4713: get rid of warning: no previous prototype 2012-10-28 07:39:06 -02:00
si4713-i2c.h
tef6862.c