Arrays of variable length
From: Tomas Winkler
Date: Sun Mar 05 2017 - 04:44:49 EST
Sparse complains for arrays declared with variable length
'warning: Variable length array is used'
Prior to c99 this was not allowed but lgcc (c99) doesn't have problem
with that https://gcc.gnu.org/onlinedocs/gcc/Variable-Length.html.
And also Linux kernel compilation with W=1 doesn't complain.
Since sparse is used extensively would like to ask what is the correct
usage of arrays of variable length
within Linux Kernel.
Thanks
Tomas