mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 13:45:13 +07:00
88b13609af
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 <steve@sk2.org> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> |
||
---|---|---|
.. | ||
aicasm_gram.y | ||
aicasm_insformat.h | ||
aicasm_macro_gram.y | ||
aicasm_macro_scan.l | ||
aicasm_scan.l | ||
aicasm_symbol.c | ||
aicasm_symbol.h | ||
aicasm.c | ||
aicasm.h | ||
Makefile |