All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 iwlwifi-next] iiwlwifi: move open ended iwl_mvm_internal_rxq_notif to end of struct
@ 2021-03-10 14:40 Bjoern A. Zeeb
  0 siblings, 0 replies; only message in thread
From: Bjoern A. Zeeb @ 2021-03-10 14:40 UTC (permalink / raw)
  To: linux-wireless; +Cc: luciano.coelho

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>
---
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;

  /**

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-10 14:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-10 14:40 [PATCH v2 iwlwifi-next] iiwlwifi: move open ended iwl_mvm_internal_rxq_notif to end of struct Bjoern A. Zeeb

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.