linux/drivers/net/wireless/intel/iwlegacy
Gustavo A. R. Silva 56df3d408a iwlegacy: Replace zero-length arrays 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 in anonymous union with the new DECLARE_FLEX_ARRAY()
helper macro.

This helper allows for flexible-array members in unions.

Link: https://github.com/KSPP/linux/issues/193
Link: https://github.com/KSPP/linux/issues/223
Link: https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/YzIvzc0jsYLigO8a@work
2022-09-28 09:45:15 +03:00
..
3945-debug.c
3945-mac.c wifi: move from strlcpy with unused retval to strscpy 2022-09-02 11:47:22 +03:00
3945-rs.c mac80211: prepare sta handling for MLO support 2022-04-11 16:42:03 +02:00
3945.c intel: switch from 'pci_' to 'dma_' API 2021-08-29 14:47:21 +03:00
3945.h
4965-calib.c iwlegacy: 4965-calib: Demote seemingly accidental kernel-doc header 2020-09-01 12:22:42 +03:00
4965-debug.c
4965-mac.c wifi: iwlegacy: fix repeated words in comments 2022-07-18 15:08:48 +03:00
4965-rs.c wifi: mac80211: make smps_mode per-link 2022-09-06 10:11:44 +02:00
4965.c wifi: mac80211: move interface config to new struct 2022-06-20 12:55:03 +02:00
4965.h
commands.h iwlegacy: Replace zero-length arrays with DECLARE_FLEX_ARRAY() helper 2022-09-28 09:45:15 +03:00
common.c wifi: mac80211: make smps_mode per-link 2022-09-06 10:11:44 +02:00
common.h wifi: mac80211: change QoS settings API to take link into account 2022-07-15 11:43:15 +02:00
csr.h
debug.c iwlegacy: debug: Demote seemingly unintentional kerneldoc header 2020-09-01 12:02:40 +03:00
iwl-spectrum.h iwlegacy: Replace zero-length array with flexible-array 2020-05-12 11:54:47 +03:00
Kconfig iwlwifi: fix LED dependencies 2021-12-08 20:17:06 +02:00
Makefile
prph.h