mirror_ubuntu-kernels/drivers/net/wireless
Gustavo A. R. Silva 34e63cd5ba iwlwifi: fw: Replace zero-length arrays with flexible-array members
There is a regular need in the kernel to provide a way to declare
having a dynamically sized set of trailing elements in a structure.
Kernel code should always use “flexible array members”[1] for these
cases. The older style of one-element or zero-length arrays should
no longer be used[2].

[1] https://en.wikipedia.org/wiki/Flexible_array_member
[2] https://www.kernel.org/doc/html/v5.16/process/deprecated.html#zero-length-and-one-element-arrays

Link: https://github.com/KSPP/linux/issues/78
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Acked-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220216195015.GA904148@embeddedor
2022-04-06 10:18:08 +03:00
..
admtek
ath ar5523: fix typo "to short" -> "too short" 2022-03-21 13:26:38 +00:00
atmel atmel: use eth_hw_addr_set() 2021-10-20 12:39:44 +03:00
broadcom brcmfmac: p2p: Fix spelling mistake "Comback" -> "Comeback" 2022-03-17 16:16:36 +02:00
cisco airo: fix typos in comments 2022-03-16 17:30:40 +02:00
intel iwlwifi: fw: Replace zero-length arrays with flexible-array members 2022-04-06 10:18:08 +03:00
intersil spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
marvell mwifiex: make read-only array wmm_oui static const 2022-03-16 17:28:01 +02:00
mediatek mt76: fix monitor rx FCS error in DFS channel 2022-03-16 21:18:06 +01:00
microchip spi: Make remove() return void 2022-02-28 10:43:07 -08:00
quantenna wireless: use eth_hw_addr_set() instead of ether_addr_copy() 2021-10-20 12:39:42 +03:00
ralink rt2x00: do not mark device gone on EPROTO errors during start 2021-11-29 12:53:50 +02:00
realtek rtw89: implement stop and resume channels transmission v1 2022-03-17 16:21:52 +02:00
rsi Merge branch 'signal-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2022-01-17 05:49:30 +02:00
st brcmfmac 2022-03-11 13:00:17 -08:00
ti spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
zydas zd1201: use kzalloc 2022-03-16 17:28:40 +02:00
Kconfig
mac80211_hwsim.c brcmfmac 2022-03-11 13:00:17 -08:00
mac80211_hwsim.h
Makefile
ray_cs.c ray_cs: Check ioremap return value 2022-02-01 14:24:35 +02:00
ray_cs.h
rayctl.h
rndis_wlan.c wireless: Remove redundant 'flush_workqueue()' calls 2021-10-13 09:22:19 +03:00
virt_wifi.c
wl3501_cs.c wl3501_cs: use eth_hw_addr_set() 2021-10-20 12:39:47 +03:00
wl3501.h