OpenCloudOS-Kernel/drivers/media/usb/tm6000
Peter Senna Tschudin 97b55f6a46 [media] drivers/media/usb/tm6000/tm6000-video.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:40 -02:00
..
Kconfig
Makefile
tm6000-alsa.c
tm6000-cards.c Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2012-10-07 17:49:05 +09:00
tm6000-core.c
tm6000-dvb.c
tm6000-i2c.c
tm6000-input.c [media] rc-core: add separate defines for protocol bitmaps and numbers 2012-10-27 11:49:51 -02:00
tm6000-regs.h
tm6000-stds.c
tm6000-usb-isoc.h
tm6000-video.c [media] drivers/media/usb/tm6000/tm6000-video.c: fix error return code 2012-11-22 14:20:40 -02:00
tm6000.h