public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Cc: oe-kbuild-all@lists.linux.dev,
	Johannes Berg <johannes@sipsolutions.net>,
	Kalle Valo <kvalo@kernel.org>,
	linux-wireless@vger.kernel.org,
	Johannes Berg <johannes.berg@intel.com>,
	Avraham Stern <avraham.stern@intel.com>,
	Daniel Gabay <daniel.gabay@intel.com>,
	Emmanuel Grumbach <emmanuel.grumbach@intel.com>,
	Anjaneyulu <pagadala.yesu.anjaneyulu@intel.com>,
	Yedidya Benshimol <yedidya.ben.shimol@intel.com>,
	Benjamin Berg <benjamin.berg@intel.com>,
	Shaul Triebitz <shaul.triebitz@intel.com>
Subject: [wireless-next:main 1/8] drivers/net/wireless/intel/iwlwifi/mld/mld.h:299:23: error: 'struct <anonymous>' has no member named 'in_d3'
Date: Sat, 8 Mar 2025 04:45:14 +0800	[thread overview]
Message-ID: <202503080456.h4DC9aDg-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git main
head:   fc56639937ce95a73c9876e39f8d18d1a8dd6a95
commit: d1e879ec600f9b3bdd253167533959facfefb17b [1/8] wifi: iwlwifi: add iwlmld sub-driver
config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20250308/202503080456.h4DC9aDg-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/20250308/202503080456.h4DC9aDg-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/202503080456.h4DC9aDg-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from drivers/net/wireless/intel/iwlwifi/mld/mld.c:16:
   drivers/net/wireless/intel/iwlwifi/mld/mld.h: In function 'iwl_cleanup_mld':
>> drivers/net/wireless/intel/iwlwifi/mld/mld.h:299:23: error: 'struct <anonymous>' has no member named 'in_d3'
     299 |         mld->fw_status.in_d3 = false;
         |                       ^
   In file included from arch/arc/include/asm/bug.h:30,
                    from include/linux/bug.h:5,
                    from include/net/mac80211.h:16,
                    from drivers/net/wireless/intel/iwlwifi/mld/mld.c:6:
   drivers/net/wireless/intel/iwlwifi/mld/hcmd.h: In function 'iwl_mld_send_cmd':
>> drivers/net/wireless/intel/iwlwifi/mld/hcmd.h:13:35: error: 'struct <anonymous>' has no member named 'in_d3'
      13 |         if (WARN_ON(mld->fw_status.in_d3))
         |                                   ^
   include/asm-generic/bug.h:123:32: note: in definition of macro 'WARN_ON'
     123 |         int __ret_warn_on = !!(condition);                              \
         |                                ^~~~~~~~~
   In file included from drivers/net/wireless/intel/iwlwifi/mld/mlo.h:13,
                    from drivers/net/wireless/intel/iwlwifi/mld/mld.c:17:
   drivers/net/wireless/intel/iwlwifi/mld/iface.h: At top level:
   drivers/net/wireless/intel/iwlwifi/mld/iface.h:170:5: warning: "CONFIG_PM_SLEEP" is not defined, evaluates to 0 [-Wundef]
     170 | #if CONFIG_PM_SLEEP
         |     ^~~~~~~~~~~~~~~
--
   In file included from drivers/net/wireless/intel/iwlwifi/mld/mac80211.c:9:
   drivers/net/wireless/intel/iwlwifi/mld/mld.h: In function 'iwl_cleanup_mld':
>> drivers/net/wireless/intel/iwlwifi/mld/mld.h:299:23: error: 'struct <anonymous>' has no member named 'in_d3'
     299 |         mld->fw_status.in_d3 = false;
         |                       ^
   In file included from arch/arc/include/asm/bug.h:30,
                    from include/linux/bug.h:5,
                    from include/net/mac80211.h:16,
                    from drivers/net/wireless/intel/iwlwifi/mld/mac80211.c:6:
   drivers/net/wireless/intel/iwlwifi/mld/hcmd.h: In function 'iwl_mld_send_cmd':
>> drivers/net/wireless/intel/iwlwifi/mld/hcmd.h:13:35: error: 'struct <anonymous>' has no member named 'in_d3'
      13 |         if (WARN_ON(mld->fw_status.in_d3))
         |                                   ^
   include/asm-generic/bug.h:123:32: note: in definition of macro 'WARN_ON'
     123 |         int __ret_warn_on = !!(condition);                              \
         |                                ^~~~~~~~~
   In file included from drivers/net/wireless/intel/iwlwifi/mld/mac80211.c:12:
   drivers/net/wireless/intel/iwlwifi/mld/iface.h: At top level:
   drivers/net/wireless/intel/iwlwifi/mld/iface.h:170:5: warning: "CONFIG_PM_SLEEP" is not defined, evaluates to 0 [-Wundef]
     170 | #if CONFIG_PM_SLEEP
         |     ^~~~~~~~~~~~~~~
   drivers/net/wireless/intel/iwlwifi/mld/mac80211.c:1978:12: warning: 'iwl_mld_resume' defined but not used [-Wunused-function]
    1978 | static int iwl_mld_resume(struct ieee80211_hw *hw)
         |            ^~~~~~~~~~~~~~
   drivers/net/wireless/intel/iwlwifi/mld/mac80211.c:1956:1: warning: 'iwl_mld_suspend' defined but not used [-Wunused-function]
    1956 | iwl_mld_suspend(struct ieee80211_hw *hw, struct cfg80211_wowlan *wowlan)
         | ^~~~~~~~~~~~~~~
   drivers/net/wireless/intel/iwlwifi/mld/mac80211.c:1942:13: warning: 'iwl_mld_set_wakeup' defined but not used [-Wunused-function]
    1942 | static void iwl_mld_set_wakeup(struct ieee80211_hw *hw, bool enabled)
         |             ^~~~~~~~~~~~~~~~~~
--
   In file included from drivers/net/wireless/intel/iwlwifi/mld/fw.c:6:
   drivers/net/wireless/intel/iwlwifi/mld/mld.h: In function 'iwl_cleanup_mld':
>> drivers/net/wireless/intel/iwlwifi/mld/mld.h:299:23: error: 'struct <anonymous>' has no member named 'in_d3'
     299 |         mld->fw_status.in_d3 = false;
         |                       ^
   In file included from arch/arc/include/asm/bug.h:30,
                    from include/linux/bug.h:5,
                    from include/linux/thread_info.h:13,
                    from include/linux/sched.h:14,
                    from include/linux/ratelimit.h:6,
                    from include/linux/dev_printk.h:16,
                    from include/linux/device.h:15,
                    from include/linux/leds.h:12,
                    from drivers/net/wireless/intel/iwlwifi/mld/mld.h:8:
   drivers/net/wireless/intel/iwlwifi/mld/hcmd.h: In function 'iwl_mld_send_cmd':
>> drivers/net/wireless/intel/iwlwifi/mld/hcmd.h:13:35: error: 'struct <anonymous>' has no member named 'in_d3'
      13 |         if (WARN_ON(mld->fw_status.in_d3))
         |                                   ^
   include/asm-generic/bug.h:123:32: note: in definition of macro 'WARN_ON'
     123 |         int __ret_warn_on = !!(condition);                              \
         |                                ^~~~~~~~~


vim +299 drivers/net/wireless/intel/iwlwifi/mld/mld.h

   286	
   287	/* memset the part of the struct that requires cleanup on restart */
   288	#define CLEANUP_STRUCT(_ptr)                             \
   289		memset((void *)&(_ptr)->zeroed_on_hw_restart, 0, \
   290		       sizeof((_ptr)->zeroed_on_hw_restart))
   291	
   292	/* Cleanup function for struct iwl_mld_vif, will be called in restart */
   293	static inline void
   294	iwl_cleanup_mld(struct iwl_mld *mld)
   295	{
   296		CLEANUP_STRUCT(mld);
   297		CLEANUP_STRUCT(&mld->scan);
   298	
 > 299		mld->fw_status.in_d3 = false;
   300	
   301		iwl_mld_low_latency_restart_cleanup(mld);
   302	
   303		/* Empty the list of async notification handlers so we won't process
   304		 * notifications from the dead fw after the reconfig flow.
   305		 */
   306		iwl_mld_purge_async_handlers_list(mld);
   307	}
   308	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2025-03-07 20:45 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=202503080456.h4DC9aDg-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=avraham.stern@intel.com \
    --cc=benjamin.berg@intel.com \
    --cc=daniel.gabay@intel.com \
    --cc=emmanuel.grumbach@intel.com \
    --cc=johannes.berg@intel.com \
    --cc=johannes@sipsolutions.net \
    --cc=kvalo@kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=miriam.rachel.korenblit@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=pagadala.yesu.anjaneyulu@intel.com \
    --cc=shaul.triebitz@intel.com \
    --cc=yedidya.ben.shimol@intel.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox