2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/net/wireless/ath/wil6210
Gustavo A. R. Silva 27044b57f8 wifi: wil6210: wmi: Replace zero-length array with DECLARE_FLEX_ARRAY() helper
Zero-length arrays are deprecated, and we are moving towards adopting
C99 flexible-array members, instead. So, replace zero-length arrays
declarations alone in structs with the new DECLARE_FLEX_ARRAY()
helper macro.

This helper allows for flexible-array members alone in structs.

Link: https://github.com/KSPP/linux/issues/193
Link: https://github.com/KSPP/linux/issues/288
Link: https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/ZGKHM+MWFsuqzTjm@work
2023-05-25 20:03:35 +03:00
..
boot_loader.h
cfg80211.c wifi: cfg80211: Add link_id parameter to various key operations for MLO 2022-08-25 10:41:05 +02:00
debug.c
debugfs.c wifi: wil6210: debugfs: use DEFINE_SHOW_ATTRIBUTE to simplify fw_capabilities/fw_version 2022-09-28 10:45:20 +03:00
ethtool.c ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
fw_inc.c
fw.c
fw.h wifi: wil6210: fw: Replace zero-length arrays with DECLARE_FLEX_ARRAY() helper 2023-05-25 20:02:47 +03:00
interrupt.c wil6210: Fix wrong function name in comments 2021-06-15 17:01:25 +03:00
Kconfig
main.c wifi: move from strlcpy with unused retval to strscpy 2022-09-02 11:47:22 +03:00
Makefile
netdev.c net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
p2p.c
pcie_bus.c cfg80211: avoid holding the RTNL when calling the driver 2021-01-26 11:55:50 +01:00
pm.c wil6210: use pm_runtime_resume_and_get() instead of pm_runtime_get_sync() 2022-04-23 12:31:48 +03:00
pmc.c
pmc.h
rx_reorder.c
trace.c
trace.h tracing/ath: Use the new __vstring() helper 2022-07-15 17:44:40 -04:00
txrx_edma.c wil6210: Add Support for Extended DMG MCS 12.1 2021-02-09 09:25:52 +02:00
txrx_edma.h
txrx.c net: add skb_[inner_]tcp_all_headers helpers 2022-07-02 16:22:25 +01:00
txrx.h wifi: wil6210: fix repeated words in comments 2022-07-18 13:05:15 +03:00
wil6210.h wil6210: use NAPI_POLL_WEIGHT for napi budget 2022-05-02 17:00:11 +03:00
wil_crash_dump.c
wil_platform.c
wil_platform.h
wmi.c wifi: move from strlcpy with unused retval to strscpy 2022-09-02 11:47:22 +03:00
wmi.h wifi: wil6210: wmi: Replace zero-length array with DECLARE_FLEX_ARRAY() helper 2023-05-25 20:03:35 +03:00