aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt3sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2018-10-05 16:15:49 +0000
committerOlof Johansson <[email protected]>2018-11-03 05:31:24 +0000
commitd4f79cb872bd4faa44eb133c1aee5f3411342c54 (patch)
tree4cf17cbfbd4ec0b9b35c2ac4cc836a6c782fc59c /drivers/scsi/mpt3sas/mpi/mpi2_raid.h
parentARM: defconfig: Update multi_v7 to use PREEMPT (diff)
downloadkernel-d4f79cb872bd4faa44eb133c1aee5f3411342c54.tar.gz
kernel-d4f79cb872bd4faa44eb133c1aee5f3411342c54.zip
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 <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Reviewed-by: Kees Cook <[email protected]> Signed-off-by: Olof Johansson <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions