linux_dsm_epyc7002/drivers/media/platform
Peter Senna Tschudin 58dec65d71 [media] drivers/media/platform/soc_camera/mx2_camera.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>

[mchehab@redhat.com: Second hunk removed, as it doesn't apply anymore,
 due to a merge conflict]
Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-10-06 09:18:10 -03:00
..
blackfin
davinci
exynos-gsc
marvell-ccic
omap
omap3isp
s5p-fimc [media] s5p-csis: Allow to specify pixel clock's source through platform data 2012-10-05 22:35:16 -03:00
s5p-g2d
s5p-jpeg
s5p-mfc [media] s5p-mfc: Set vfl_dir for encoder 2012-10-05 23:09:04 -03:00
s5p-tv
soc_camera [media] drivers/media/platform/soc_camera/mx2_camera.c: fix error return code 2012-10-06 09:18:10 -03:00
arv.c
coda.c
coda.h
fsl-viu.c
indycam.c
indycam.h
Kconfig [media] s5p-mfc: Update MFC v4l2 driver to support MFC6.x 2012-10-05 23:08:31 -03:00
m2m-deinterlace.c
Makefile
mem2mem_testdev.c
mx2_emmaprp.c
omap24xxcam-dma.c
omap24xxcam.c
omap24xxcam.h
sh_vou.c
timblogiw.c
via-camera.c
via-camera.h
vino.c
vino.h
vivi.c