Message ID | 20211209091545.6098-2-kvalo@kernel.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 5341d57bc398df62fa1e54ec7cf8e3bf9da1c597 |
Delegated to: | Kalle Valo |
Headers | show |
Series | [1/2] ath10k: htt: remove array of flexible structures | expand |
diff --git a/drivers/net/wireless/ath/ath10k/wmi.h b/drivers/net/wireless/ath/ath10k/wmi.h index 01bfd09a9d88..4abd12e78028 100644 --- a/drivers/net/wireless/ath/ath10k/wmi.h +++ b/drivers/net/wireless/ath/ath10k/wmi.h @@ -3478,7 +3478,9 @@ struct wmi_phyerr_event { __le32 num_phyerrs; __le32 tsf_l32; __le32 tsf_u32; - struct wmi_phyerr phyerrs[]; + + /* array of struct wmi_phyerr */ + u8 phyerrs[]; } __packed; struct wmi_10_4_phyerr_event {