2023-12-13 17:08:10

by Jeff Johnson

[permalink] [raw]
Subject: [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



2023-12-13 20:21:10

by Gustavo A. R. Silva

[permalink] [raw]
Subject: Re: [PATCH 0/6] wifi: ath10k: use flexible arrays



On 12/13/23 11:06, Jeff Johnson wrote:
> 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.

This is really great!

Thank you for taking care of this. :)
--
Gustavo

>
> ---
> 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
>