linux/drivers/media/usb
Arnd Bergmann 0a0c1b823c media: rainshadow-cec: avoid -Wmaybe-uninitialized warning again
Back in April I created a patch to address a false-positive warning:

drivers/media/usb/rainshadow-cec/rainshadow-cec.c: In function 'rain_irq_work_handler':
drivers/media/usb/rainshadow-cec/rainshadow-cec.c:171:31: error: 'data' may be used uninitialized in this function [-Werror=maybe-uninitialized]

My patch was totally wrong and introduced a real bug, and Colin Ian King thankfully
noticed it now and fixed my mistake. Unfortunately, fixing the actual uninitialized
data in this case brought back the original bogus warning.

This is a new version of the patch, which simplifies the code to the point where
gcc notices the behavior is correct.

Fixes: ca33784ba4 ("[media] rainshadow-cec: ensure exit_loop is intialized")
Fixes: ea6a69defd ("[media] rainshadow-cec: avoid -Wmaybe-uninitialized warning")

Cc: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-06-24 09:37:28 -03:00
..
airspy [media] usb: constify vb2_ops structures 2016-09-19 16:20:35 -03:00
as102 media: usb: as102: as102_usb_drv: don't print error when allocating urb fails 2016-08-30 19:13:53 +02:00
au0828 [media] au0828: Add timer to restart TS stream if no data arrives on bulk endpoint 2017-06-06 07:52:20 -03:00
b2c2 [media] b2c2: don't break long lines 2016-10-21 09:38:31 -02:00
cpia2 [media] media drivers: annotate fall-through 2017-05-19 07:10:03 -03:00
cx231xx [media] rc-core: cx231xx - leave the internals of rc_dev alone 2017-06-06 09:09:34 -03:00
dvb-usb [media] media drivers: annotate fall-through 2017-05-19 07:10:03 -03:00
dvb-usb-v2 [media] af9015: move 2nd demod power-up wait different location 2017-06-20 10:26:13 -03:00
em28xx [media] em28xx: fix spelling mistake: "missdetected" -> "misdetected" 2017-06-06 08:13:41 -03:00
go7007 [media] go7007: improve subscribe event handling 2017-03-22 10:12:21 -03:00
gspca [media] m5602_s5k83a: check return value of kthread_create 2017-06-06 07:28:36 -03:00
hackrf [media] usb: constify vb2_ops structures 2016-09-19 16:20:35 -03:00
hdpvr [media] hdpvr: fix interrupted recording 2016-11-16 13:30:30 -02:00
msi2500 [media] usb: constify vb2_ops structures 2016-09-19 16:20:35 -03:00
pulse8-cec [media] stih-cec/vivid/pulse8/rainshadow: use cec_transmit_attempt_done 2017-06-20 06:53:20 -03:00
pvrusb2 [media] pvrusb2: remove redundant check on cnt > 8 2017-06-07 13:52:41 -03:00
pwc [media] media drivers: annotate fall-through 2017-05-19 07:10:03 -03:00
rainshadow-cec media: rainshadow-cec: avoid -Wmaybe-uninitialized warning again 2017-06-24 09:37:28 -03:00
s2255 [media] s2255drv: avoid a switch fall through 2017-05-19 09:05:19 -03:00
siano [media] siano: make it work again with CONFIG_VMAP_STACK 2017-02-14 18:13:49 -02:00
stk1160 [media] media: stk1160: Add Kconfig help on snd-usb-audio requirement 2017-04-18 12:15:45 -03:00
stkwebcam media: stkwebcam: Use more common logging styles 2017-06-24 09:36:38 -03:00
tm6000 [media] tm6000: key_addr is unused 2017-06-06 09:10:11 -03:00
ttusb-budget [media] ttusb-budget: don't break long lines 2016-10-21 09:54:20 -02:00
ttusb-dec [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
usbtv [media] usbtv: add sharpness control 2017-02-08 11:57:24 -02:00
usbvision [media] usbvision: add missing USB-descriptor endianness conversions 2017-06-06 07:43:02 -03:00
uvc [media] uvcvideo: Add iFunction or iInterface to device names 2017-06-06 07:33:26 -03:00
zr364xx [media] zr364xx: enforce minimum size when reading header 2017-04-18 12:57:29 -03:00
Kconfig [media] rainshadow-cec: new RainShadow Tech HDMI CEC driver 2017-04-10 12:42:10 -03:00
Makefile [media] rainshadow-cec: new RainShadow Tech HDMI CEC driver 2017-04-10 12:42:10 -03:00