mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-14 07:06:50 +07:00
58dec65d71
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> |
||
---|---|---|
.. | ||
blackfin | ||
davinci | ||
exynos-gsc | ||
marvell-ccic | ||
omap | ||
omap3isp | ||
s5p-fimc | ||
s5p-g2d | ||
s5p-jpeg | ||
s5p-mfc | ||
s5p-tv | ||
soc_camera | ||
arv.c | ||
coda.c | ||
coda.h | ||
fsl-viu.c | ||
indycam.c | ||
indycam.h | ||
Kconfig | ||
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 |