Skip to content

wifi: ath10k: use flexible arrays

Jeff Johnson ath10k linux-wireless lkml 1 version In review

Get series with b4
b4 am 20231213-wmi_host_mem_chunks_flexarray-v1-0-92922d92fa2c@quicinc.com change-id 20231212-wmi_host_mem_chunks_flexarray-78264e146731

Versions newest first

  1. v1 Latest6 patches 17 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6wifi: ath10k: use flexible array in struct wmi_host_mem_chunksdrivers/net/wireless/ath/ath10k/wmi.h+4 -14 replies
2/6wifi: ath10k: use flexible arrays for WMI start scan TLVsdrivers/net/wireless/ath/ath10k/wmi.c drivers/net/wireless/ath/ath10k/wmi.h+6 -132 replies
3/6wifi: ath10k: remove struct wmi_pdev_chanlist_update_eventdrivers/net/wireless/ath/ath10k/wmi.h+0 -72 replies
4/6wifi: ath10k: remove unused template structsdrivers/net/wireless/ath/ath10k/wmi.h+0 -242 replies
5/6wifi: ath10k: use flexible array in struct wmi_tdls_peer_capabilitiesdrivers/net/wireless/ath/ath10k/wmi.h+7 -12 replies
6/6wifi: ath10k: remove duplicate memset() in 10.4 TDLS peer updatedrivers/net/wireless/ath/ath10k/wmi.c+0 -24 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchKees CookGustavo A. R. Silva
1/6R-b R-b
2/6R-b R-b
3/6R-b R-b
4/6R-b R-b
5/6R-b R-b
6/6R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] wifi: ath10k: use flexible arrays

Clean up the last remaining zero-length and one-element arrays in ath10k to comply with:
https://docs.kernel.org/process/deprecated.html#zero-length-and-one-element-arrays

With these cleanups done the ath10k-check script no longer reports any issues.

---
Jeff Johnson (6):
wifi: ath10k: use flexible array in struct wmi_host_mem_chunks
wifi: ath10k: use flexible arrays for WMI start scan TLVs
wifi: ath10k: remove struct wmi_pdev_chanlist_update_event
wifi: ath10k: remove unused template structs
wifi: ath10k: use flexible array in struct wmi_tdls_peer_capabilities
wifi: ath10k: remove duplicate memset() in 10.4 TDLS peer update

 drivers/net/wireless/ath/ath10k/wmi.c | 10 +++----
 drivers/net/wireless/ath/ath10k/wmi.h | 55 +++++++++--------------------------
 2 files changed, 17 insertions(+), 48 deletions(-)

---
base-commit: 7133b072dfbfac8763ffb017642c9c894894c50d
change-id: 20231212-wmi_host_mem_chunks_flexarray-78264e146731