linux-sg2042/arch/arm/mach-mv78xx0
Arnd Bergmann 5de267b299 ARM: mv78xx0: fix possible PCI buffer overflow
gcc-7.0 reports a potential array overflow:

arch/arm/mach-mv78xx0/pcie.c: In function 'mv78xx0_pcie_preinit':
arch/arm/mach-mv78xx0/pcie.c:81:4: error: output may be truncated before the last format character [-Werror=format-truncation=]

I haven't checked if this can actually happen, but making the
array one 32-bit word longer addresses the warning and makes
it completely safe.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2017-01-27 17:52:57 +01:00
..
Kconfig ARM: do away with ARCH_[WANT_OPTIONAL|REQUIRE]_GPIOLIB 2016-06-03 12:18:13 -07:00
Makefile ARM: mv78xx0: multiplatform support 2015-12-07 18:17:41 +01:00
bridge-regs.h ARM: mv78xx0: clean up mach/*.h headers 2015-12-07 18:17:34 +01:00
buffalo-wxl-setup.c ARM: mv78xx0: clean up mach/*.h headers 2015-12-07 18:17:34 +01:00
common.c ARM: mv78xx0: simplify ethernet device creation 2016-09-14 16:35:37 +02:00
common.h reboot: arm: change reboot_mode to use enum reboot_mode 2013-07-09 10:33:29 -07:00
db78x00-bp-setup.c ARM: mv78xx0: clean up mach/*.h headers 2015-12-07 18:17:34 +01:00
irq.c ARM: mv78xx0: clean up mach/*.h headers 2015-12-07 18:17:34 +01:00
irqs.h ARM: mv78xx0: clean up mach/*.h headers 2015-12-07 18:17:34 +01:00
mpp.c ARM: mv78xx0: clean up mach/*.h headers 2015-12-07 18:17:34 +01:00
mpp.h ARM: orion: Fix Orion5x GPIO regression from MPP cleanup 2012-02-09 16:16:31 -08:00
mv78xx0.h ARM: mv78xx0: clean up mach/*.h headers 2015-12-07 18:17:34 +01:00
pcie.c ARM: mv78xx0: fix possible PCI buffer overflow 2017-01-27 17:52:57 +01:00
rd78x00-masa-setup.c ARM: mv78xx0: clean up mach/*.h headers 2015-12-07 18:17:34 +01:00