1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/wireless/intel/iwlwifi/fw/api
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
..
alive.h iwlwifi: mvm: remove card state notification code 2021-12-21 12:38:16 +02:00
binding.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
cmdhdr.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
coex.h iwlwifi: remove trailing semicolon in macro definition 2021-08-26 23:33:24 +03:00
commands.h brcmfmac 2022-03-11 13:00:17 -08:00
config.h iwlwifi: remove unused DC2DC_CONFIG_CMD definitions 2022-02-18 10:40:52 +02:00
context.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
d3.h iwlwifi: mvm: d3: support v12 wowlan status 2021-12-07 20:06:35 +02:00
datapath.h iwlwifi: mvm: update BAID allocation command again 2022-02-18 10:40:55 +02:00
dbg-tlv.h iwlwifi: fw: Replace zero-length arrays with flexible-array members 2022-04-06 10:18:08 +03:00
debug.h iwlwifi: fw: Replace zero-length arrays with flexible-array members 2022-04-06 10:18:08 +03:00
filter.h iwlwifi: fw: Replace zero-length arrays with flexible-array members 2022-04-06 10:18:08 +03:00
led.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
location.h iwlwifi: mvm: Support new version of ranging response notification 2021-10-22 10:49:01 +03:00
mac-cfg.h iwlwifi: mvm: offload channel switch timing to FW 2022-02-18 10:40:49 +02:00
mac.h iwlwifi: mvm: support v3 of station HE context command 2022-02-18 10:40:51 +02:00
nvm-reg.h iwlwifi: mvm: Disable WiFi bands selectively with BIOS 2022-02-18 10:40:54 +02:00
offload.h iwlwifi: mvm: introduce iwl_stored_beacon_notif_v3 2021-08-26 23:38:17 +03:00
paging.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
phy-ctxt.h iwlwifi: mvm: add support for PHY context command v4 2021-12-07 20:06:36 +02:00
phy.h iwlwifi: mvm: add support for CT-KILL notification version 2 2022-02-18 10:40:51 +02:00
power.h iwlwifi: mvm: add a flag to reduce power command. 2022-03-10 09:23:26 +02:00
rfi.h iwlwifi: mvm: rfi: handle deactivation notification 2022-02-18 10:40:54 +02:00
rs.h brcmfmac 2022-03-11 13:00:17 -08:00
rx.h iwlwifi: mvm: Support new rate_n_flags for REPLY_RX_MPDU_CMD and RX_NO_DATA_NOTIF 2021-10-22 10:49:02 +03:00
scan.h iwlwifi: fw: Replace zero-length arrays with flexible-array members 2022-04-06 10:18:08 +03:00
sf.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
sta.h iwlwifi: fw: Replace zero-length arrays with flexible-array members 2022-04-06 10:18:08 +03:00
stats.h iwlwifi: mvm: add support for statistics update version 15 2021-12-07 20:06:40 +02:00
system.h iwlwifi: mvm/api: define system control command 2021-12-07 20:06:45 +02:00
tdls.h iwlwifi: fw: Replace zero-length arrays with flexible-array members 2022-04-06 10:18:08 +03:00
time-event.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
tx.h iwlwifi: api: remove ttl field from TX command 2022-02-18 10:40:55 +02:00
txq.h iwlwifi: cfg: add support for 1K BA queue 2022-02-18 10:40:50 +02:00