alistair23-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
m5mols [media] m5mols: introduce missing initialization 2012-09-14 11:08:40 -03:00
smiapp
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
adv7170.c
adv7175.c
adv7180.c
adv7183.c
adv7183_regs.h
adv7343.c
adv7343_regs.h
adv7393.c
adv7393_regs.h
adv7604.c [media] adv7604: driver for the Analog Devices ADV7604 video decoder 2012-09-13 16:13:47 -03:00
ak881x.c
aptina-pll.c
aptina-pll.h
as3645a.c
bt819.c
bt856.c
bt866.c
btcx-risc.c
btcx-risc.h
cs53l32a.c
cs5345.c
cx2341x.c
ir-kbd-i2c.c
Kconfig [media] ad9389b: driver for the Analog Devices AD9389B video encoder 2012-09-13 16:15:36 -03:00
ks0127.c
ks0127.h
m52790.c
Makefile [media] ad9389b: driver for the Analog Devices AD9389B video encoder 2012-09-13 16:15:36 -03:00
msp3400-driver.c
msp3400-driver.h
msp3400-kthreads.c
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
mt9v011.c
mt9v032.c [media] mt9v032: Export horizontal and vertical blanking as V4L2 controls 2012-09-13 16:29:31 -03:00
noon010pc30.c
ov7670.c
s5k6aa.c
saa711x_regs.h
saa717x.c
saa6588.c
saa7110.c
saa7115.c
saa7127.c
saa7185.c
saa7191.c
saa7191.h
smiapp-pll.c
smiapp-pll.h
sr030pc30.c
tcm825x.c
tcm825x.h
tda7432.c
tda9840.c
tea6415c.c
tea6415c.h
tea6420.c
tea6420.h
ths7303.c
tlv320aic23b.c
tvaudio.c
tveeprom.c
tvp514x.c
tvp514x_regs.h
tvp5150.c
tvp5150_reg.h
tvp7002.c
tvp7002_reg.h
upd64031a.c
upd64083.c
vp27smpx.c
vpx3220.c
vs6624.c
vs6624_regs.h
wm8739.c
wm8775.c