linux-kernel-test/drivers/media
Jean Delvare b0efc3ed05 [media] m920x: Fix uninitialized variable warning
drivers/media/usb/dvb-usb/m920x.c:91:6: warning: "ret" may be used uninitialized in this function [-Wuninitialized]
drivers/media/usb/dvb-usb/m920x.c:70:6: note: "ret" was declared here
This is real, if a remote control has an empty initialization sequence
we would get success or failure randomly.
OTOH the initialization of ret in m920x_init is needless, the function
returns with an error as soon as an error happens, so the last return
can only be a success and we can hard-code 0 there.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2013-03-31 11:15:35 -03:00
..
common [media] media: move dvb-usb-v2/cypress_firmware.c to media/common 2013-03-29 11:35:06 -03:00
dvb-core [media] dvb-core: don't clear stats at DTV_CLEAR 2013-03-21 10:27:35 -03:00
dvb-frontends [media] Fix undefined reference to `au8522_attach' 2013-03-26 08:37:48 -03:00
firewire [media] remove include/linux/dvb/dmx.h 2012-10-19 07:29:17 -03:00
i2c [media] tw2804: Revert ADC Control commit 523a4f7fbc 2013-03-25 08:13:40 -03:00
mmc [media] siano: get rid of CammelCase from smscoreapi.h 2013-03-21 10:03:16 -03:00
parport [media] v4l2: pass std by value to the write-only s_std ioctl 2013-03-24 06:47:00 -03:00
pci [media] ioctl numbers are unsigned int 2013-03-29 08:18:36 -03:00
platform [media] s5p-fimc: Change the driver directory name to exynos4-is 2013-03-31 11:04:03 -03:00
radio [media] radio-si476x: vidioc_s* now uses a const parameter 2013-03-29 09:46:12 -03:00
rc [media] rc-core: don't treat dev->rc_map.rc_type as a bitmap 2013-03-23 11:25:54 -03:00
tuners [media] tuner: add Sony BTF tuners 2013-03-24 12:11:35 -03:00
usb [media] m920x: Fix uninitialized variable warning 2013-03-31 11:15:35 -03:00
v4l2-core [media] V4L: Add MATRIX option to V4L2_CID_EXPOSURE_METERING control 2013-03-31 10:55:19 -03:00
Kconfig Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2013-02-24 17:35:10 -08:00
Makefile [media] move i2c files into drivers/media/i2c 2012-09-06 18:42:54 -03:00
media-device.c [media] media: implement 32-on-64 bit compat IOCTL handling 2013-03-18 20:45:14 -03:00
media-devnode.c [media] media: Add 64--32 bit compat ioctl handler 2013-03-18 20:44:36 -03: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