linux_dsm_epyc7002/drivers/mtd/maps
Arnd Bergmann e70dda0868 mtd: ichxrom: maybe-uninitialized with gcc-4.9
pci_read_config_word() might fail and not initialize its output,
as pointed out by older versions of gcc when using the -Wmaybe-unintialized
flag:

drivers/mtd/maps/ichxrom.c: In function ‘ichxrom_cleanup’:
drivers/mtd/maps/ichxrom.c:63:2: error: ‘word’ is used uninitialized in this function [-Werror=uninitialized]

This is apparently a correct warning, though it does not show up
with newer compilers. Changing the code to not attempt to write
back uninitialized data into PCI config space is a correct
fix for the problem and avoids the warning.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
2017-02-08 14:13:05 -08:00
..
amd76xrom.c
bfin-async-flash.c
cfi_flagadm.c
ck804xrom.c
dc21285.c
esb2rom.c
gpio-addr-flash.c
ichxrom.c mtd: ichxrom: maybe-uninitialized with gcc-4.9 2017-02-08 14:13:05 -08:00
impa7.c
intel_vr_nor.c
ixp4xx.c
Kconfig mtd: physmap_of: add a hook for Gemini flash probing 2017-02-08 13:01:00 -08:00
l440gx.c
lantiq-flash.c mtd: update my email address 2017-02-08 12:49:27 -08:00
latch-addr-flash.c
Makefile mtd: physmap_of: add a hook for Gemini flash probing 2017-02-08 13:01:00 -08:00
map_funcs.c
netsc520.c
nettel.c
pci.c
pcmciamtd.c
physmap_of_gemini.c mtd: physmap_of: add a hook for Gemini flash probing 2017-02-08 13:01:00 -08:00
physmap_of_gemini.h mtd: physmap_of: add a hook for Gemini flash probing 2017-02-08 13:01:00 -08:00
physmap_of_versatile.c
physmap_of_versatile.h
physmap_of.c mtd: physmap_of: add a hook for Gemini flash probing 2017-02-08 13:01:00 -08:00
physmap.c
pismo.c
plat-ram.c
pmcmsp-flash.c mtd: pmcmsp: use kstrndup instead of kmalloc+strncpy 2017-02-08 13:15:49 -08:00
pxa2xx-flash.c
rbtx4939-flash.c
sa1100-flash.c
sbc_gxx.c
sc520cdp.c mtd: maps: add missing iounmap() in error path 2016-11-30 18:30:24 -08:00
scb2_flash.c
scx200_docflash.c
solutionengine.c
sun_uflash.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
ts5500_flash.c
tsunami_flash.c
uclinux.c
vmu-flash.c