aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorStephen Kitt <steve@sk2.org>2018-03-09 23:32:11 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2018-03-12 22:37:20 -0400
commit92eb506262a2a3da9aeaece7017e77490da907dd (patch)
tree1896ed10ae1166a3a01fe52ead7fd5a21540b872 /tools/perf/scripts/python/bin/stackcollapse-record
parentscsi: jazz_esp, sun3x_esp: Pass struct device pointer in dma calls (diff)
downloadlinux-92eb506262a2a3da9aeaece7017e77490da907dd.tar.gz
linux-92eb506262a2a3da9aeaece7017e77490da907dd.zip
scsi: device_handler: remove VLAs
In preparation to enabling -Wvla, remove VLAs and replace them with fixed-length arrays instead. scsi_dh_{alua,emc,rdac} use variable-length array declarations to store command blocks, with the appropriate size as determined by COMMAND_SIZE. This patch replaces these with fixed-sized arrays using MAX_COMMAND_SIZE, so that the array size can be determined at compile time. This was prompted by https://lkml.org/lkml/2018/3/7/621 Signed-off-by: Stephen Kitt <steve@sk2.org> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions