linux/drivers/net/wireless/ath
Gustavo A. R. Silva 8bc66426ca ath10k: Replace zero-length array with flexible-array member
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/20220216194807.GA904008@embeddedor
2022-02-21 12:23:28 +02:00
..
ar5523 ar5523: Fix null-ptr-deref with unexpected WDCMSG_TARGET_START reply 2021-11-12 09:53:57 +02:00
ath5k ath5k: fix ah_txq_isr_txok_all setting 2022-01-17 14:38:27 +02:00
ath6kl ath6kl: Use struct_group() to avoid size-mismatched casting 2021-12-09 10:00:12 +02:00
ath9k ath9k: use hw_random API instead of directly dumping into random.c 2022-02-21 12:22:29 +02:00
ath10k ath10k: Replace zero-length array with flexible-array member 2022-02-21 12:23:28 +02:00
ath11k ath11k: configure RDDM size to mhi for recovery by firmware 2022-02-21 12:05:41 +02:00
carl9170 carl9170: fix missing bit-wise or operator for tx_params 2022-01-31 16:13:47 +02:00
wcn36xx wcn36xx: use struct_size over open coded arithmetic 2022-02-14 19:50:57 +02:00
wil6210 wil6210: use eth_hw_addr_set() 2021-10-20 12:39:44 +03:00
ath.h ath: Modify ath_key_delete() to not need full key entry 2020-12-17 08:51:17 +02:00
debug.c
dfs_pattern_detector.c ath: dfs_pattern_detector: Avoid open coded arithmetic in memory allocation 2022-01-17 14:41:51 +02:00
dfs_pattern_detector.h
dfs_pri_detector.c ath: dfs_pri_detector: Demote zero/half completed kernel-doc headers 2020-11-07 10:06:49 +02:00
dfs_pri_detector.h
hw.c ath: Fix wrong function name in comments 2021-06-15 17:01:24 +03:00
Kconfig Merge ath-next from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git 2020-06-15 20:18:39 +03:00
key.c ath: Modify ath_key_delete() to not need full key entry 2020-12-17 08:51:17 +02:00
main.c
Makefile
reg.h
regd_common.h ath: regdom: extend South Korea regulatory domain support 2021-12-08 10:37:38 +02:00
regd.c ath: regd: Provide description for ath_reg_apply_ir_flags's 'reg' param 2020-11-07 10:06:43 +02:00
regd.h ath: regdom: extend South Korea regulatory domain support 2021-12-08 10:37:38 +02:00
spectral_common.h ath11k: Introduce spectral hw configurable param 2021-09-28 11:52:57 +03:00
trace.c
trace.h