mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drivers/net/wireless/mediatek/mt76/mt7615/mcu.c:1839:42: warning: unused variable 'mt7615_wowlan_support'
@ 2020-07-12 20:04 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-07-12 20:04 UTC (permalink / raw)
  To: Lorenzo Bianconi
  Cc: kbuild-all, clang-built-linux, linux-kernel, Felix Fietkau,
	Wan-Feng Jiang, Soul Huang, Sean Wang

[-- Attachment #1: Type: text/plain, Size: 1781 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   0aea6d5c5be33ce94c16f9ab2f64de1f481f424b
commit: c6bf20109a3fae92402cb76ad709ec5256bcd169 mt76: mt7615: add WoW support
date:   9 weeks ago
config: arm-randconfig-r001-20200713 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 02946de3802d3bc65bc9f2eb9b8d4969b5a7add8)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        git checkout c6bf20109a3fae92402cb76ad709ec5256bcd169
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/net/wireless/mediatek/mt76/mt7615/mcu.c:1839:42: warning: unused variable 'mt7615_wowlan_support' [-Wunused-const-variable]
   static const struct wiphy_wowlan_support mt7615_wowlan_support = {
                                            ^
   1 warning generated.

vim +/mt7615_wowlan_support +1839 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c

  1838	
> 1839	static const struct wiphy_wowlan_support mt7615_wowlan_support = {
  1840		.flags = WIPHY_WOWLAN_MAGIC_PKT | WIPHY_WOWLAN_DISCONNECT,
  1841		.n_patterns = 1,
  1842		.pattern_min_len = 1,
  1843		.pattern_max_len = MT7615_WOW_PATTEN_MAX_LEN,
  1844	};
  1845	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 31282 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-12 20:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-12 20:04 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c:1839:42: warning: unused variable 'mt7615_wowlan_support' 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

all inboxes | Powered by JetHome®