mirror_ubuntu-kernels/drivers/net/wireless/ath/ath6kl
Gustavo A. R. Silva d9bc14167b ath6kl: 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>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20220216194857.GA904059@embeddedor
2022-02-21 12:25:31 +02:00
..
bmi.c
bmi.h
cfg80211.c ath6kl: use eth_hw_addr_set() 2021-10-20 12:39:43 +03:00
cfg80211.h
common.h
core.c cfg80211: avoid holding the RTNL when calling the driver 2021-01-26 11:55:50 +01:00
core.h ath6kl: Replace zero-length array with flexible-array 2020-05-06 09:21:30 +03:00
debug.c ath6kl: return error code in ath6kl_wmi_set_roam_lrssi_cmd() 2021-05-13 18:32:15 +02:00
debug.h
hif-ops.h
hif.c
hif.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2020-06-03 16:27:18 -07:00
htc_mbox.c ath6kl: Use struct_group() to avoid size-mismatched casting 2021-12-09 10:00:12 +02:00
htc_pipe.c
htc-ops.h
htc.h ath6kl: Use struct_group() to avoid size-mismatched casting 2021-12-09 10:00:12 +02:00
init.c cfg80211: avoid holding the RTNL when calling the driver 2021-01-26 11:55:50 +01:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
main.c ath6kl: prevent potential array overflow in ath6kl_add_new_sta() 2020-08-17 13:22:08 +03:00
Makefile
recovery.c
sdio.c mmc: sdio: Move SDIO IDs from ath6kl driver to common include file 2020-05-29 12:37:59 +02:00
target.h
testmode.c wireless: remove unneeded break 2020-11-07 13:34:22 +02:00
testmode.h
trace.c
trace.h
txrx.c
usb.c ath6kl: fix division by zero in send path 2021-10-28 10:34:20 +03:00
wmi.c ath6kl: wmi: fix an error code in ath6kl_wmi_sync_point() 2021-08-29 10:12:50 +03:00
wmi.h ath6kl: Replace zero-length arrays with flexible-array members 2022-02-21 12:25:31 +02:00