diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2023-04-11 11:18:59 +0200 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2023-04-13 17:36:29 +0200 |
commit | e20985a79643c701cae3a527b584b3722c53d951 (patch) | |
tree | b8d8a3120041f5c99c86b0b0b9b3bcf645b4ba35 /drivers/s390/cio/chsc.c | |
parent | 469c701db198227c2354b7c37f2c73dbfee5e065 (diff) | |
download | linux-stable-e20985a79643c701cae3a527b584b3722c53d951.tar.gz linux-stable-e20985a79643c701cae3a527b584b3722c53d951.tar.bz2 linux-stable-e20985a79643c701cae3a527b584b3722c53d951.zip |
s390/cio: 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>
Diffstat (limited to 'drivers/s390/cio/chsc.c')
-rw-r--r-- | drivers/s390/cio/chsc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/cio/chsc.c b/drivers/s390/cio/chsc.c index 620a917cd3a1..0abd77f4b664 100644 --- a/drivers/s390/cio/chsc.c +++ b/drivers/s390/cio/chsc.c @@ -1171,7 +1171,7 @@ int __init chsc_get_cssid_iid(int idx, u8 *cssid, u8 *iid) u8 cssid; u8 iid; u32 : 16; - } list[0]; + } list[]; } *sdcal_area; int ret; |