Messages in this thread | | | Subject | Re: [PATCH v2 1/6][next] ath6kl: wmi: Replace one-element array with flexible-array member in struct wmi_begin_scan_cmd | From | Kalle Valo <> | Date | Wed, 9 Mar 2022 15:08:27 +0000 (UTC) |
| |
"Gustavo A. R. Silva" <gustavoars@kernel.org> wrote:
> Replace one-element array with flexible-array member in struct > wmi_begin_scan_cmd. Also, make use of the struct_size() helper. > > This issue was found with the help of Coccinelle and audited and fixed, > manually. > > Link: https://www.kernel.org/doc/html/v5.16/process/deprecated.html#zero-length-and-one-element-arrays > Link: https://github.com/KSPP/linux/issues/79 > Reviewed-by: Jeff Johnson <quic_jjohnson@quicinc.com> > Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> > Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
6 patches applied to ath-next branch of ath.git, thanks.
324edddf2505 ath6kl: wmi: Replace one-element array with flexible-array member in struct wmi_begin_scan_cmd 56f1257fdcc0 ath6kl: wmi: Replace one-element array with flexible-array member in struct wmi_start_scan_cmd 3c5e6994eea3 ath6kl: wmi: Replace one-element array with flexible-array member in struct wmi_channel_list_reply dfb0203939b1 ath6kl: wmi: Replace one-element array with flexible-array member in struct wmi_connect_event 5140df50e655 ath6kl: wmi: Replace one-element array with flexible-array member in struct wmi_disconnect_event 0dff6f05a9dc ath6kl: wmi: Replace one-element array with flexible-array member in struct wmi_aplist_event
-- https://patchwork.kernel.org/project/linux-wireless/patch/1ef801ea24475501fa0f296cb5435a440135206e.1645736204.git.gustavoars@kernel.org/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
| |