alistair23-linux/drivers/mtd
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
..
chips
devices mtd: bcm47xxsflash: use platform_(set|get)_drvdata 2017-02-08 11:19:43 -08:00
lpddr
maps mtd: ichxrom: maybe-uninitialized with gcc-4.9 2017-02-08 14:13:05 -08:00
nand mtd: update my email address 2017-02-08 12:49:27 -08:00
onenand
spi-nor mtd: spi-nor: constify fsl_qspi_devtype_data 2016-11-26 17:45:06 +01:00
tests
ubi ubi: fastmap: Fix add_vol() return value test in ubi_attach_fastmap() 2016-10-28 14:48:18 +02:00
afs.c
ar7part.c
bcm47xxpart.c mtd: bcm47xxpart: fix parsing first block after aligned TRX 2016-11-22 11:09:48 -08:00
bcm63xxpart.c
cmdlinepart.c
ftl.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
inftlcore.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
inftlmount.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
Kconfig
Makefile
mtd_blkdevs.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
mtdblock.c
mtdblock_ro.c
mtdchar.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
mtdconcat.c
mtdcore.c mtd: fix typos in ooblayout comment blocks 2017-02-08 13:32:08 -08:00
mtdcore.h
mtdoops.c
mtdpart.c mtd: introduce function max_bad_blocks 2017-02-08 13:53:52 -08:00
mtdsuper.c
mtdswap.c mtd: mtdswap: fix spelling mistake "erassure" -> "erasure" 2016-11-22 11:43:52 -08:00
nftlcore.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
nftlmount.c
ofpart.c
redboot.c
rfd_ftl.c
sm_ftl.c
sm_ftl.h
ssfdc.c