kernel-fxtec-pro1x/drivers/media/i2c/m5mols
Dan Carpenter cc7666a394 [media] m5mols: potential uninitialized variable
Smatch complains that there are some paths where "status" isn't
initialized.  The code does assume that m5mols_read_u8() can fail so it
seems as if Smatch is correct.

Let's initialize it to REG_ISO_AUTO which is zero.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-04-13 17:10:59 -03:00
..
Kconfig
m5mols.h
m5mols_capture.c [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
m5mols_controls.c [media] m5mols: potential uninitialized variable 2016-04-13 17:10:59 -03:00
m5mols_core.c [media] media framework: rename pads init function to media_entity_pads_init() 2016-01-11 12:19:03 -02:00
m5mols_reg.h
Makefile