linux/drivers/media/platform/omap3isp
Peter Senna Tschudin 0bd0dbee3f [media] omap3isp: Fix error return code in probe function
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>
[laurent.pinchart@ideasonboard.com Replaced EBUSY with ENODEV]
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-09-27 14:18:54 -03:00
..
Makefile
cfa_coef_table.h
gamma_table.h
isp.c [media] omap3isp: Fix error return code in probe function 2012-09-27 14:18:54 -03:00
isp.h
ispccdc.c
ispccdc.h
ispccp2.c
ispccp2.h
ispcsi2.c
ispcsi2.h
ispcsiphy.c
ispcsiphy.h
isph3a.h
isph3a_aewb.c
isph3a_af.c
isphist.c
isphist.h
isppreview.c
isppreview.h
ispqueue.c
ispqueue.h
ispreg.h
ispresizer.c
ispresizer.h
ispstat.c
ispstat.h
ispvideo.c [media] omap3isp: Fix up ENOIOCTLCMD error handling 2012-09-27 13:47:55 -03:00
ispvideo.h
luma_enhance_table.h
noise_filter_table.h