Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 6866469 ("Makefile: Globally enable VLA warning") Signed-off-by: Arnd Bergmann <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Reviewed-by: Kees Cook <[email protected]> Signed-off-by: Olof Johansson <[email protected]>
- Loading branch information