linux/drivers/media/platform
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
..
blackfin
davinci [media] davinci: vpif: capture/display: fix race condition 2012-09-26 17:22:02 -03:00
exynos-gsc
marvell-ccic
omap
omap3isp [media] omap3isp: Fix error return code in probe function 2012-09-27 14:18:54 -03:00
s5p-fimc
s5p-g2d
s5p-jpeg
s5p-mfc
s5p-tv
soc_camera
arv.c
coda.c [media] media: coda: set up buffers to be sized as negotiated with s_fmt 2012-09-26 16:56:56 -03:00
coda.h [media] media: coda: add horizontal / vertical flipping support 2012-09-26 16:55:22 -03:00
fsl-viu.c
indycam.c
indycam.h
Kconfig [media] media: coda: fix IRAM/AXI handling for i.MX53 2012-09-26 16:29:37 -03:00
m2m-deinterlace.c [media] m2m-deinterlace: Add V4L2_CAP_VIDEO_M2M capability flag 2012-09-26 17:24:31 -03:00
Makefile
mem2mem_testdev.c
mx2_emmaprp.c
omap24xxcam-dma.c
omap24xxcam.c
omap24xxcam.h
sh_vou.c [media] media: sh-vou: fix compilation breakage 2012-09-27 04:24:42 -03:00
timblogiw.c
via-camera.c
via-camera.h
vino.c
vino.h
vivi.c [media] vivi: Add return code check at vb2_queue_init() 2012-09-27 04:47:48 -03:00