linux/drivers/media
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
..
common [media] flexcop: Show the item to enable debug after the driver 2012-08-21 08:05:33 -03:00
dvb-core [media] dvb_frontend: return -ENOTTY for unimplement IOCTL 2012-09-10 11:14:35 -03:00
dvb-frontends [media] stb0899: return internally tuned frequency via get_frontend. 2012-09-13 17:42:07 -03:00
firewire [media] Fix some Makefile rules 2012-08-16 19:55:03 -03:00
i2c [media] mt9m032.c: introduce missing initialization 2012-09-14 11:10:59 -03:00
mmc [media] Fix some Makefile rules 2012-08-16 19:55:03 -03:00
parport [media] Add missing help for some menuconfig items 2012-08-21 08:17:37 -03:00
pci [media] ddbridge: fix error handling in module_init_ddbridge() 2012-09-11 15:29:00 -03:00
platform Linux 3.6-rc3 2012-08-24 11:25:10 -03:00
radio [media] shark,shark2: declare resume/suspend functions as static 2012-09-13 17:42:13 -03:00
rc Linux 3.6-rc3 2012-08-24 11:25:10 -03:00
tuners [media] Kconfig: merge all customise options into just one 2012-08-21 08:05:06 -03:00
usb [media] gspca_pac7302: extend register documentation 2012-09-13 17:54:49 -03:00
v4l2-core [media] v4l2-ctrls: Add v4l2_ctrl_[gs]_ctrl_int64() 2012-09-13 16:23:36 -03:00
Kconfig [media] Kconfig: merge all customise options into just one 2012-08-21 08:05:06 -03:00
Makefile [media] move i2c files into drivers/media/i2c 2012-09-06 18:42:54 -03:00
media-device.c [media] media: fix MEDIA_IOC_DEVICE_INFO return code 2012-08-12 07:57:57 -03:00
media-devnode.c Disintegrate and delete asm/system.h 2012-03-28 15:58:21 -07:00
media-entity.c [media] media: Add link_validate() op to check links to the sink pad 2012-05-14 08:44:11 -03:00