linux_dsm_epyc7002/drivers/media/platform
Julia Lawall 9f9831a8b6 [media] drivers/media/platform/mx2_emmaprp.c: adjust inconsistent IS_ERR and PTR_ERR
Change the call to IS_ERR to test the value that was just initialized and
is returned using PTR_ERR.

The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
expression e,e1;
@@

(
if (IS_ERR(e)) { ... PTR_ERR(e) ... }
|
if (IS_ERR(e=e1)) { ... PTR_ERR(e) ... }
|
*if (IS_ERR(e))
 { ...
*  PTR_ERR(e1)
   ... }
)
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Cc: Javier Martin <javier.martin@vista-silicon.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-09-15 13:09:21 -03:00
..
blackfin
davinci
exynos-gsc [media] gscaler: Add m2m functionality for the G-Scaler driver 2012-09-15 11:08:51 -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 [media] gscaler: mark it as BROKEN 2012-09-15 12:36:35 -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 [media] gscaler: mark it as BROKEN 2012-09-15 12:36:35 -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