linux/drivers/media/pci/ttpci
Peter Senna Tschudin bc7c85e501 [media] drivers/media/pci/ttpci/budget-av.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 13:41:31 -02:00
..
Kconfig [media] Kconfig: merge all customise options into just one 2012-08-21 08:05:06 -03:00
Makefile
av7110.c
av7110.h [media] remove include/linux/dvb/dmx.h 2012-10-19 07:29:17 -03:00
av7110_av.c
av7110_av.h
av7110_ca.c
av7110_ca.h
av7110_hw.c
av7110_hw.h
av7110_ipack.c
av7110_ipack.h
av7110_ir.c
av7110_v4l.c [media] v4l2: make vidioc_s_audio const 2012-09-26 10:50:12 -03:00
budget-av.c [media] drivers/media/pci/ttpci/budget-av.c: fix error return code 2012-11-22 13:41:31 -02:00
budget-ci.c
budget-core.c
budget-patch.c
budget.c
budget.h
ttpci-eeprom.c
ttpci-eeprom.h