[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202007130419.7pytXc1T%lkp@intel.com>
Date: Mon, 13 Jul 2020 04:04:21 +0800
From: kernel test robot <lkp@...el.com>
To: Lorenzo Bianconi <lorenzo@...nel.org>
Cc: kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
linux-kernel@...r.kernel.org, Felix Fietkau <nbd@....name>,
Wan-Feng Jiang <Wan-Feng.Jiang@...iatek.com>,
Soul Huang <Soul.Huang@...iatek.com>,
Sean Wang <sean.wang@...iatek.com>
Subject: drivers/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@...el.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
Download attachment ".config.gz" of type "application/gzip" (31282 bytes)
Powered by blists - more mailing lists