linux/drivers/media/pci/ngene
Peter Senna Tschudin bd6973ea6e [media] drivers/media/pci/ngene/ngene-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:20:25 -02:00
..
Kconfig [media] Kconfig: merge all customise options into just one 2012-08-21 08:05:06 -03:00
Makefile
ngene-cards.c [media] ngene: better comment unused code to avoid warnings 2012-10-28 07:38:46 -02:00
ngene-core.c [media] drivers/media/pci/ngene/ngene-core.c: fix error return code 2012-11-22 14:20:25 -02:00
ngene-dvb.c
ngene-i2c.c
ngene.h