Message ID | alpine.BSF.2.00.2102261653460.72241@ai.fobar.qr (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Luca Coelho |
Headers | show |
Series | [iwlwifi-next] iiwlwifi: move open ended iwl_mvm_internal_rxq_notif to end of struct | expand |
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/sta.h b/drivers/net/wireless/intel/iwlwifi/mvm/sta.h index 35a18b96aac5..6cbe45bc1914 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/sta.h +++ b/drivers/net/wireless/intel/iwlwifi/mvm/sta.h @@ -291,15 +291,15 @@ struct iwl_mvm_nssn_sync_data { } __packed; struct iwl_mvm_rss_sync_notif { - struct iwl_mvm_internal_rxq_notif metadata; union { struct iwl_mvm_delba_data delba; struct iwl_mvm_nssn_sync_data nssn_sync; }; + struct iwl_mvm_internal_rxq_notif metadata; } __packed; /** * struct iwl_mvm_rxq_dup_data - per station per rx queue data * @last_seq: last sequence per tid for duplicate packet detection * @last_sub_frame: last subframe packet */
In struct iwl_mvm_rss_sync_notif, metadata is of type struct iwl_mvm_internal_rxq_notif which is "open ended" [] and hence should not be at the beginning but at the end of struct iwl_mvm_rss_sync_notif. Sponsored-by: The FreeBSD Foundation Signed-off-by: Bjoern A. Zeeb <bz@FreeBSD.ORG> --- drivers/net/wireless/intel/iwlwifi/mvm/sta.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)