linux/drivers/media/dvb-core
Arnd Bergmann 4dd19196c5 [media] dvb: avoid warning in dvb_net
With gcc-5 or higher on x86, we can get a bogus warning in the
dvb-net code:

drivers/media/dvb-core/dvb_net.c: In function 'dvb_net_ule':
arch/x86/include/asm/string_32.h:78:22: error: '*((void *)&dest_addr+4)' may be used uninitialized in this function [-Werror=maybe-uninitialized]

The problem here is that gcc doesn't track all of the conditions
to prove it can't end up copying uninitialized data.
This changes the logic around so we zero out the destination
address earlier when we determine that it is not set here.
This allows the compiler to figure it out.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-12-21 07:33:14 -02:00
..
demux.h [media] dvb-core: get rid of demux optional circular buffer 2016-10-21 08:43:24 -02:00
dmxdev.c [media] dvb-core: get rid of demux optional circular buffer 2016-10-21 08:43:24 -02:00
dmxdev.h [media] remove include/linux/dvb/dmx.h 2012-10-19 07:29:17 -03:00
dvb_ca_en50221.c [media] dvb-core/en50221: use dvb_remove_device() 2016-11-18 15:03:45 -02:00
dvb_ca_en50221.h [media] dvb_ca_en50221.h: Make checkpatch.pl happy 2015-10-06 18:40:01 -03:00
dvb_demux.c [media] dvb-core: get rid of demux optional circular buffer 2016-10-21 08:43:24 -02:00
dvb_demux.h [media] dvb-core: get rid of demux optional circular buffer 2016-10-21 08:43:24 -02:00
dvb_frontend.c Revert "[media] dvb_frontend: merge duplicate dvb_tuner_ops.release implementations" 2016-11-18 20:44:33 -02:00
dvb_frontend.h Revert "[media] dvb_frontend: merge duplicate dvb_tuner_ops.release implementations" 2016-11-18 20:44:33 -02:00
dvb_math.c
dvb_math.h [media] get rid of a number of problems at the cross references 2016-09-22 10:00:23 -03:00
dvb_net.c [media] dvb: avoid warning in dvb_net 2016-12-21 07:33:14 -02:00
dvb_net.h [media] dvb: push down ioctl lock in dvb_usercopy 2012-12-27 15:44:21 -02:00
dvb_ringbuffer.c [media] media: dvb_ringbuffer: Add memory barriers 2016-07-09 07:57:47 -03:00
dvb_ringbuffer.h [media] get rid of a number of problems at the cross references 2016-09-22 10:00:23 -03:00
dvb-usb-ids.h [media] dvb-usb-dvbsky: Add support for TechnoTrend S2-4650 CI 2016-10-24 17:14:25 -02:00
dvbdev.c [media] dvbdev: split dvb_unregister_device() 2016-11-18 15:02:39 -02:00
dvbdev.h [media] Raise adapter number limit 2016-11-23 13:28:43 -02:00
Kconfig [media] Raise adapter number limit 2016-11-23 13:28:43 -02:00
Makefile [media] dvb-core: move dvb_filter out of the DVB core 2016-10-21 08:44:08 -02:00