linux/drivers/media
Nicolas Iooss 238623ce48 ite-cir: initialize use_demodulator before using it
commit 7ec03e60ef upstream.

Function ite_set_carrier_params() uses variable use_demodulator after
having initialized it to false in some if branches, but this variable is
never set to true otherwise.

This bug has been found using clang -Wsometimes-uninitialized warning
flag.

Fixes: 620a32bba4 ("[media] rc: New rc-based ite-cir driver for
several ITE CIRs")

Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-01-26 08:23:50 +01:00
..
common [media] saa7146: use swap() in sort_and_eliminate() 2015-07-06 08:25:49 -03:00
dvb-core media: dvb_ringbuffer: Add memory barriers 2016-08-20 18:09:18 +02:00
dvb-frontends mb86a20s: fix demod settings 2016-10-28 03:01:30 -04:00
firewire [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
i2c adv7511: TX_EDID_PRESENT is still 1 after a disconnect 2016-04-12 09:08:50 -07:00
mmc [media] siano: register media controller earlier 2015-02-26 09:10:39 -03:00
pci cx23885-dvb: move initialization of a8293_pdata 2017-01-12 11:22:51 +01:00
platform blackfin: check devm_pinctrl_get() for errors 2017-01-26 08:23:49 +01:00
radio [media] radio: Drop owner assignment from i2c_driver 2015-08-11 13:01:08 -03:00
rc ite-cir: initialize use_demodulator before using it 2017-01-26 08:23:50 +01:00
tuners si2157: return -EINVAL if firmware blob is too big 2016-03-03 15:07:14 -08:00
usb dib0700: fix nec repeat handling 2016-11-18 10:48:34 +01:00
v4l2-core vb2: core: Skip planes array verification if pb is NULL 2016-08-20 18:09:18 +02:00
Kconfig media updates for v4.2-rc1 2015-06-25 17:55:48 -07:00
Makefile [media] bq/c-qcam, w9966, pms: move to staging in preparation for removal 2014-12-16 23:21:44 -02:00
media-device.c [media] media: Use strlcpy instead of custom code 2014-09-21 20:27:08 -03:00
media-devnode.c [media] media-devnode: just return 0 instead of using a var 2014-09-03 17:59:28 -03:00
media-entity.c [media] media-entity.c: get rid of var length arrays 2015-10-01 18:10:05 -03:00