* [wireless-next:main 1/8] drivers/net/wireless/intel/iwlwifi/mld/mld.h:299:23: error: 'struct <anonymous>' has no member named 'in_d3'
@ 2025-03-07 20:45 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-03-07 20:45 UTC (permalink / raw)
To: Miri Korenblit
Cc: oe-kbuild-all, Johannes Berg, Kalle Valo, linux-wireless,
Johannes Berg, Avraham Stern, Daniel Gabay, Emmanuel Grumbach,
Anjaneyulu, Yedidya Benshimol, Benjamin Berg, Shaul Triebitz
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-03-07 20:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-07 20:45 [wireless-next:main 1/8] drivers/net/wireless/intel/iwlwifi/mld/mld.h:299:23: error: 'struct <anonymous>' has no member named 'in_d3' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox