From: kernel test robot <lkp@intel.com>
To: "Gustavo A. R. Silva" <gustavoars@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev,
"Gustavo A. R. Silva" <gustavo@embeddedor.com>,
LKML <linux-kernel@vger.kernel.org>
Subject: [gustavoars:testing/wfamnae-next20250304 5/11] drivers/net/wireless/intel/iwlwifi/fw/api/tx.h:745:31: error: field 'tx' has incomplete type
Date: Mon, 10 Mar 2025 21:08:30 +0800 [thread overview]
Message-ID: <202503102143.Rm06fBbo-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git testing/wfamnae-next20250304
head: 6d2e9e1f723433e96db706772bc630bc704bf9ba
commit: a6053266a6e573a3c22309605547bf35869fbaf3 [5/11] wifi: iwlwifi: dvm: Avoid -Wflex-array-member-not-at-end warnings
config: arc-allmodconfig (https://download.01.org/0day-ci/archive/20250310/202503102143.Rm06fBbo-lkp@intel.com/config)
compiler: arceb-elf-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250310/202503102143.Rm06fBbo-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202503102143.Rm06fBbo-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/net/wireless/intel/iwlwifi/pcie/tx.c:27:
>> drivers/net/wireless/intel/iwlwifi/fw/api/tx.h:745:31: error: field 'tx' has incomplete type
745 | struct iwl_tx_cmd_hdr tx;
| ^~
drivers/net/wireless/intel/iwlwifi/fw/api/tx.h:764:31: error: field 'tx' has incomplete type
764 | struct iwl_tx_cmd_hdr tx;
| ^~
--
In file included from drivers/net/wireless/intel/iwlwifi/mvm/../fw/api/tdls.h:10,
from drivers/net/wireless/intel/iwlwifi/mvm/fw-api.h:10,
from drivers/net/wireless/intel/iwlwifi/mvm/sta.h:15,
from drivers/net/wireless/intel/iwlwifi/mvm/mvm.h:30,
from drivers/net/wireless/intel/iwlwifi/mvm/fw.c:21:
>> drivers/net/wireless/intel/iwlwifi/mvm/../fw/api/tx.h:745:31: error: field 'tx' has incomplete type
745 | struct iwl_tx_cmd_hdr tx;
| ^~
drivers/net/wireless/intel/iwlwifi/mvm/../fw/api/tx.h:764:31: error: field 'tx' has incomplete type
764 | struct iwl_tx_cmd_hdr tx;
| ^~
>> drivers/net/wireless/intel/iwlwifi/mvm/../fw/api/tdls.h:53:31: error: field 'tx_cmd' has incomplete type
53 | struct iwl_tx_cmd_hdr tx_cmd;
| ^~~~~~
>> drivers/net/wireless/intel/iwlwifi/mvm/../fw/api/tdls.h:134:31: error: field 'pti_req_tx_cmd' has incomplete type
134 | struct iwl_tx_cmd_hdr pti_req_tx_cmd;
| ^~~~~~~~~~~~~~
vim +/tx +745 drivers/net/wireless/intel/iwlwifi/fw/api/tx.h
686
687 /**
688 * struct iwl_compressed_ba_notif - notifies about reception of BA
689 * ( BA_NOTIF = 0xc5 )
690 * @flags: status flag, see the &iwl_mvm_ba_resp_flags
691 * @sta_id: Index of recipient (BA-sending) station in fw's station table
692 * @reduced_txp: power reduced according to TPC. This is the actual value and
693 * not a copy from the LQ command. Thus, if not the first rate was used
694 * for Tx-ing then this value will be set to 0 by FW.
695 * @tlc_rate_info: TLC rate info, initial rate index, TLC table color
696 * @retry_cnt: retry count
697 * @query_byte_cnt: SCD query byte count
698 * @query_frame_cnt: SCD query frame count
699 * @txed: number of frames sent in the aggregation (all-TIDs)
700 * @done: number of frames that were Acked by the BA (all-TIDs)
701 * @rts_retry_cnt: RTS retry count
702 * @reserved: reserved (for alignment)
703 * @wireless_time: Wireless-media time
704 * @tx_rate: the rate the aggregation was sent at
705 * @tfd_cnt: number of TFD-Q elements
706 * @ra_tid_cnt: number of RATID-Q elements
707 * @tfd: array of TFD queue status updates. See &iwl_compressed_ba_tfd
708 * for details. Length in @tfd_cnt.
709 * @ra_tid: array of RA-TID queue status updates. For debug purposes only. See
710 * &iwl_compressed_ba_ratid for more details. Length in @ra_tid_cnt.
711 */
712 struct iwl_compressed_ba_notif {
713 __le32 flags;
714 u8 sta_id;
715 u8 reduced_txp;
716 u8 tlc_rate_info;
717 u8 retry_cnt;
718 __le32 query_byte_cnt;
719 __le16 query_frame_cnt;
720 __le16 txed;
721 __le16 done;
722 u8 rts_retry_cnt;
723 u8 reserved;
724 __le32 wireless_time;
725 __le32 tx_rate;
726 __le16 tfd_cnt;
727 __le16 ra_tid_cnt;
728 union {
729 DECLARE_FLEX_ARRAY(struct iwl_compressed_ba_ratid, ra_tid);
730 DECLARE_FLEX_ARRAY(struct iwl_compressed_ba_tfd, tfd);
731 };
732 } __packed; /* COMPRESSED_BA_RES_API_S_VER_4,
733 COMPRESSED_BA_RES_API_S_VER_5 */
734
735 /**
736 * struct iwl_mac_beacon_cmd_v6 - beacon template command
737 * @tx: the tx commands associated with the beacon frame
738 * @template_id: currently equal to the mac context id of the coresponding
739 * mac.
740 * @tim_idx: the offset of the tim IE in the beacon
741 * @tim_size: the length of the tim IE
742 * @frame: the template of the beacon frame
743 */
744 struct iwl_mac_beacon_cmd_v6 {
> 745 struct iwl_tx_cmd_hdr tx;
746 __le32 template_id;
747 __le32 tim_idx;
748 __le32 tim_size;
749 struct ieee80211_hdr frame[];
750 } __packed; /* BEACON_TEMPLATE_CMD_API_S_VER_6 */
751
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-03-10 13:09 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=202503102143.Rm06fBbo-lkp@intel.com \
--to=lkp@intel.com \
--cc=gustavo@embeddedor.com \
--cc=gustavoars@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.