Re: [PATCH 4/6] wifi: ath10k: remove unused template structs

2023-12-13 Thread Gustavo A. R. Silva
On 12/13/23 11:06, Jeff Johnson wrote: Currently both the wmi_bcn_tmpl_cmd and wmi_prb_tmpl_cmd structs define: u8 data[1]; Per the guidance in [1] both instances of this should be flexible arrays. However during conversion it was discovered that neither of these structs are actuall

Re: [PATCH 4/6] wifi: ath10k: remove unused template structs

2023-12-13 Thread Kees Cook
On Wed, Dec 13, 2023 at 09:06:42AM -0800, Jeff Johnson wrote: > Currently both the wmi_bcn_tmpl_cmd and wmi_prb_tmpl_cmd structs > define: > u8 data[1]; > > Per the guidance in [1] both instances of this should be flexible > arrays. However during conversion it was discovered that neither

[PATCH 4/6] wifi: ath10k: remove unused template structs

2023-12-13 Thread Jeff Johnson
Currently both the wmi_bcn_tmpl_cmd and wmi_prb_tmpl_cmd structs define: u8 data[1]; Per the guidance in [1] both instances of this should be flexible arrays. However during conversion it was discovered that neither of these structs are actually used, so just remove them. No functional