diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-10-05 18:15:49 +0200 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2018-11-02 22:31:24 -0700 |
commit | d4f79cb872bd4faa44eb133c1aee5f3411342c54 (patch) | |
tree | 4cf17cbfbd4ec0b9b35c2ac4cc836a6c782fc59c /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | |
parent | 513eb98595522bc0cb83831a9daee1d5738e66f1 (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
0 files changed, 0 insertions, 0 deletions