Re: [PATCH v2 2/5] wifi: wfx: declare support for WoWLAN

From: kernel test robot
Date: Mon Mar 03 2025 - 11:31:19 EST


Hi Jérôme,

kernel test robot noticed the following build warnings:

[auto build test WARNING on wireless-next/main]
[also build test WARNING on wireless/main linus/master v6.14-rc5 next-20250303]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/J-r-me-Pouiller/wifi-wfx-align-declarations-between-bus_spi-c-and-bus_sdio-c/20250302-231700
base: https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git main
patch link: https://lore.kernel.org/r/20250302144731.117409-3-jerome.pouiller%40silabs.com
patch subject: [PATCH v2 2/5] wifi: wfx: declare support for WoWLAN
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20250303/202503032358.4QbNFRfz-lkp@xxxxxxxxx/config)
compiler: alpha-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250303/202503032358.4QbNFRfz-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202503032358.4QbNFRfz-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> drivers/net/wireless/silabs/wfx/main.c:124:42: warning: 'wfx_wowlan_support' defined but not used [-Wunused-const-variable=]
124 | static const struct wiphy_wowlan_support wfx_wowlan_support = {
| ^~~~~~~~~~~~~~~~~~


vim +/wfx_wowlan_support +124 drivers/net/wireless/silabs/wfx/main.c

123
> 124 static const struct wiphy_wowlan_support wfx_wowlan_support = {
125 .flags = WIPHY_WOWLAN_ANY | WIPHY_WOWLAN_DISCONNECT,
126 };
127

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