WSL2-Linux-Kernel/arch/arm/plat-orion
Arnd Bergmann d4f79cb872 ARM: orion: avoid VLA in orion_mpp_conf
Testing randconfig builds found an instance of a VLA that was
missed when determining that we have removed them all:

arch/arm/plat-orion/mpp.c: In function 'orion_mpp_conf':
arch/arm/plat-orion/mpp.c:31:2: error: ISO C90 forbids variable length array 'mpp_ctrl' [-Werror=vla]

This one is fairly straightforward: we know what all three
callers are, and the maximum length is not very long.

Fixes: 68664695ae57 ("Makefile: Globally enable VLA warning")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
2018-11-02 22:31:24 -07:00
..
include/plat ARM: orion: Register DSA switch as a MDIO device 2017-02-07 10:51:47 -05:00
Makefile Removal of GENERIC_GPIO for v3.10 2013-05-09 09:59:16 -07:00
common.c ARM: orion: fix orion_ge00_switch_board_info initialization 2018-02-22 17:48:39 +01:00
gpio.c ARM/orion/gpio: Replace three seq_printf() calls by seq_puts() in orion_gpio_dbg_show() 2016-10-17 17:40:24 +02:00
irq.c ARM: orion: always use MULTI_IRQ_HANDLER 2015-12-07 18:16:42 +01:00
mpp.c ARM: orion: avoid VLA in orion_mpp_conf 2018-11-02 22:31:24 -07:00
pcie.c arm: plat-orion: use mv_mbus_dram_info() in PCIe code 2013-03-17 18:03:44 +00:00
time.c ARM: orion: implement ARM delay timer 2016-01-26 23:45:05 +00:00