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 [media] drivers/media/platform/blackfin/bfin_capture.c: fix error return code 2012-09-23 16:52:10 -03:00
davinci [media] davinci: vpif: capture/display: fix race condition 2012-09-26 17:22:02 -03:00
exynos-gsc [media] exynos-gsc: Add missing Makefile 2012-09-15 15:09:34 -03:00
marvell-ccic
omap [media] Set vfl_dir for all display or m2m drivers 2012-09-26 11:57:06 -03:00
omap3isp [media] omap3isp: Fix error return code in probe function 2012-09-27 14:18:54 -03:00
s5p-fimc [media] Set vfl_dir for all display or m2m drivers 2012-09-26 11:57:06 -03:00
s5p-g2d [media] Set vfl_dir for all display or m2m drivers 2012-09-26 11:57:06 -03:00
s5p-jpeg [media] Set vfl_dir for all display or m2m drivers 2012-09-26 11:57:06 -03:00
s5p-mfc [media] Set vfl_dir for all display or m2m drivers 2012-09-26 11:57:06 -03:00
s5p-tv [media] Set vfl_dir for all display or m2m drivers 2012-09-26 11:57:06 -03:00
soc_camera [media] v4l2: make vidioc_s_crop const 2012-09-26 11:02:25 -03:00
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 [media] v4l2: make vidioc_s_fbuf const 2012-09-26 10:42:36 -03:00
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 Revert "[media] gscaler: mark it as BROKEN" 2012-09-15 15:09:57 -03:00
mem2mem_testdev.c [media] Set vfl_dir for all display or m2m drivers 2012-09-26 11:57:06 -03:00
mx2_emmaprp.c [media] Set vfl_dir for all display or m2m drivers 2012-09-26 11:57:06 -03:00
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 [media] v4l2: make vidioc_s_crop const 2012-09-26 11:02:25 -03:00
vino.h
vivi.c [media] vivi: Add return code check at vb2_queue_init() 2012-09-27 04:47:48 -03:00