DORMANTno replies

[PATCH v2 iwlwifi-next] iiwlwifi: move open ended iwl_mvm_internal_rxq_notif to end of struct

From: Bjoern A. Zeeb <hidden>
Date: 2021-03-10 14:40:52
Subsystem: intel wireless wifi link (iwlwifi), the rest · Maintainers: Miri Korenblit, Linus Torvalds

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 <redacted>
---
changes since v1 - reduce diff context
---
  drivers/net/wireless/intel/iwlwifi/mvm/sta.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
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,11 +291,11 @@ 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;

  /**
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help