lkml.org 
[lkml]   [2020]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectdrivers/net/wireless/mediatek/mt76/mt7615/mcu.c:1839:42: warning: unused variable 'mt7615_wowlan_support'
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
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2020-07-12 22:06    [W:0.024 / U:0.596 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site