wilc1000: use flexible-array member instead of zero-length array
authorTian Tao <tiantao6@hisilicon.com>
Fri, 25 Dec 2020 07:35:03 +0000 (15:35 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 14 Jan 2021 17:33:02 +0000 (19:33 +0200)
commit098238e80bed1ea2347e2efb5533f1d0289ae6c3
tree9303bb6ce20191fdebace7fc611b6ceffa66ec31
parente862a3e4088070de352fdafe9bd9e3ae0a95a33c
wilc1000: use flexible-array member instead of zero-length array

Use flexible-array member introduced in C99 instead of zero-length
array. Most of zero-length array was already taken care in previous
patch [1].

[1]. https://patchwork.kernel.org/patch/11394197/

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1608881703-37060-1-git-send-email-tiantao6@hisilicon.com
drivers/net/wireless/microchip/wilc1000/fw.h