linux/drivers/media/i2c
Julia Lawall 612cd9e874 [media] mt9m032.c: introduce missing initialization
The result of one call to a function is tested, and then at the second call
to the same function, the previous result, and not the current result, is
tested again.

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

// <smpl>
@@
expression ret;
identifier f;
statement S1,S2;
@@

*ret = f(...);
if (\(ret != 0\|ret < 0\|ret == NULL\)) S1
... when any
*f(...);
if (\(ret != 0\|ret < 0\|ret == NULL\)) S2
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-09-14 11:10:59 -03:00
..
cx25840 [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
m5mols [media] m5mols: introduce missing initialization 2012-09-14 11:08:40 -03:00
smiapp [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
soc_camera sh_mobile_csi2: move it to the right place 2012-08-21 07:39:30 -03:00
ad9389b.c [media] ad9389b: driver for the Analog Devices AD9389B video encoder 2012-09-13 16:15:36 -03:00
adp1653.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
adv7170.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
adv7175.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
adv7180.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
adv7183_regs.h [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
adv7183.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
adv7343_regs.h [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
adv7343.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
adv7393_regs.h [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
adv7393.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
adv7604.c [media] adv7604: driver for the Analog Devices ADV7604 video decoder 2012-09-13 16:13:47 -03:00
ak881x.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
aptina-pll.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
aptina-pll.h [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
as3645a.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
bt819.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
bt856.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
bt866.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
btcx-risc.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
btcx-risc.h [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
cs53l32a.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
cs5345.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
cx2341x.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
ir-kbd-i2c.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
Kconfig [media] ad9389b: driver for the Analog Devices AD9389B video encoder 2012-09-13 16:15:36 -03:00
ks0127.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
ks0127.h [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
m52790.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
Makefile [media] ad9389b: driver for the Analog Devices AD9389B video encoder 2012-09-13 16:15:36 -03:00
msp3400-driver.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
msp3400-driver.h [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
msp3400-kthreads.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
mt9m032.c [media] mt9m032.c: introduce missing initialization 2012-09-14 11:10:59 -03:00
mt9p031.c [media] mt9p031: Fix horizontal and vertical blanking configuration 2012-09-13 16:29:49 -03:00
mt9t001.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
mt9v011.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
mt9v032.c [media] mt9v032: Export horizontal and vertical blanking as V4L2 controls 2012-09-13 16:29:31 -03:00
noon010pc30.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
ov7670.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
s5k6aa.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
saa711x_regs.h [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
saa717x.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
saa6588.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
saa7110.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
saa7115.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
saa7127.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
saa7185.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
saa7191.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
saa7191.h [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
smiapp-pll.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
smiapp-pll.h [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
sr030pc30.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
tcm825x.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
tcm825x.h [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
tda7432.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
tda9840.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
tea6415c.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
tea6415c.h [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
tea6420.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
tea6420.h [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
ths7303.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
tlv320aic23b.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
tvaudio.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
tveeprom.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
tvp514x_regs.h [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
tvp514x.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
tvp5150_reg.h [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
tvp5150.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
tvp7002_reg.h [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
tvp7002.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
upd64031a.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
upd64083.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
vp27smpx.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
vpx3220.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
vs6624_regs.h [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
vs6624.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
wm8739.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00
wm8775.c [media] move i2c files into drivers/media/i2c 2012-08-15 16:42:14 -03:00