linux/drivers/media/usb/hdpvr
Peter Senna Tschudin 304a0807a2 [media] drivers/media/usb/hdpvr/hdpvr-core.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:22:31 -02:00
..
hdpvr-control.c
hdpvr-core.c [media] drivers/media/usb/hdpvr/hdpvr-core.c: fix error return code 2012-11-22 14:22:31 -02:00
hdpvr-i2c.c [media] rc-core: add separate defines for protocol bitmaps and numbers 2012-10-27 11:49:51 -02:00
hdpvr-video.c [media] v4l2: make vidioc_s_audio const 2012-09-26 10:50:12 -03:00
hdpvr.h
Kconfig
Makefile