linux/drivers/media/platform
Peter Senna Tschudin 150a136368 [media] drivers/media/platform/blackfin/bfin_capture.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>
Cc: Scott Jiang <scott.jiang.linux@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-09-23 16:52:10 -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] drivers/media/platform/davinci/vpfe_capture.c: fix error return code 2012-09-23 13:46:08 -03:00
exynos-gsc [media] exynos-gsc: Add missing Makefile 2012-09-15 15:09:34 -03:00
marvell-ccic
omap
omap3isp
s5p-fimc [media] s5p-fimc: Remove unneeded struct vb2_queue clear on queue_init() 2012-09-15 11:47:56 -03:00
s5p-g2d [media] s5p-g2d: Remove unneeded struct vb2_queue clear on queue_init() 2012-09-15 11:48:40 -03:00
s5p-jpeg [media] s5p-jpeg: Remove unneeded struct vb2_queue clear on queue_init() 2012-09-15 11:48:23 -03:00
s5p-mfc
s5p-tv
soc_camera
arv.c
coda.c [media] coda: Remove unneeded struct vb2_queue clear on queue_init() 2012-09-15 11:46:26 -03:00
coda.h
fsl-viu.c
indycam.c
indycam.h
Kconfig Revert "[media] gscaler: mark it as BROKEN" 2012-09-15 15:09:57 -03:00
m2m-deinterlace.c [media] mem2mem-deinterlace: Remove unneeded struct vb2_queue clear on queue_init() 2012-09-15 11:47:11 -03:00
Makefile Revert "[media] gscaler: mark it as BROKEN" 2012-09-15 15:09:57 -03:00
mem2mem_testdev.c [media] mem2mem_testdev: Make m2mtest_dev_release function static 2012-09-15 11:59:53 -03:00
mx2_emmaprp.c [media] drivers/media/platform/mx2_emmaprp.c: adjust inconsistent IS_ERR and PTR_ERR 2012-09-15 13:09:21 -03:00
omap24xxcam-dma.c
omap24xxcam.c
omap24xxcam.h
sh_vou.c
timblogiw.c
via-camera.c
via-camera.h
vino.c
vino.h
vivi.c [media] vivi: Remove unneeded struct vb2_queue clearing 2012-09-15 11:41:44 -03:00