diff options
| author | Stephen Kitt <[email protected]> | 2018-03-08 21:51:58 +0100 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2018-03-15 00:34:26 -0400 |
| commit | 88b13609afca8ed2992c107c15326b4a8142e5da (patch) | |
| tree | 1e570649c35ec871aff5127214a309c82bb4f634 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 2e8c3002e350f4aa6b1c4c9d5a0409926e6eb556 (diff) | |
scsi: aic7xxx: aic79xx: remove VLAs
In preparation to enabling -Wvla, remove VLAs and replace them with
fixed-length arrays instead.
The arrays fixed here, using the number of constant sections, aren't
really VLAs, but they appear so to the compiler. Replace the array sizes
with a pre-processor-level constant instead using ARRAY_SIZE.
This was prompted by https://lkml.org/lkml/2018/3/7/621
Signed-off-by: Stephen Kitt <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions