linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Bjoern A. Zeeb" <bz@FreeBSD.ORG>
To: linux-wireless@vger.kernel.org
Cc: luciano.coelho@intel.com
Subject: [PATCH v2 iwlwifi-next] iiwlwifi: move open ended iwl_mvm_internal_rxq_notif to end of struct
Date: Wed, 10 Mar 2021 14:40:07 +0000 (UTC)	[thread overview]
Message-ID: <alpine.BSF.2.00.2103101440030.72241@ai.fobar.qr> (raw)

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;

  /**

                 reply	other threads:[~2021-03-10 14:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.BSF.2.00.2103101440030.72241@ai.fobar.qr \
    --to=bz@freebsd.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=luciano.coelho@intel.com \
    --subject='Re: [PATCH v2 iwlwifi-next] iiwlwifi: move open ended iwl_mvm_internal_rxq_notif to end of struct' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).