s390/debug: replace zero-length array with flexible-array member
There are numerous patches which convert zero-length arrays with a flexible-array member. Convert the remaining s390 occurrences. Suggested-by: Gustavo A. R. Silva <gustavoars@kernel.org> Link: https://github.com/KSPP/linux/issues/78 Link: https://gcc.gnu.org/pipermail/gcc-patches/2022-October/602902.html Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
This commit is contained in:
parent
6ca87bc4c8
commit
ca1382eafa
|
@ -60,7 +60,7 @@ typedef struct {
|
|||
* except of floats, and long long (32 bit)
|
||||
*
|
||||
*/
|
||||
long args[0];
|
||||
long args[];
|
||||
} debug_sprintf_entry_t;
|
||||
|
||||
/* internal function prototyes */
|
||||
|
|
Loading…
Reference in New Issue