mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Lorenzo Bianconi <lorenzo@kernel.org>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
	linux-kernel@vger.kernel.org, Felix Fietkau <nbd@nbd.name>,
	Wan-Feng Jiang <Wan-Feng.Jiang@mediatek.com>,
	Soul Huang <Soul.Huang@mediatek.com>,
	Sean Wang <sean.wang@mediatek.com>
Subject: drivers/net/wireless/mediatek/mt76/mt7615/mcu.c:1839:42: warning: unused variable 'mt7615_wowlan_support'
Date: Mon, 13 Jul 2020 04:04:21 +0800	[thread overview]
Message-ID: <202007130419.7pytXc1T%lkp@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2020-07-12 20:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202007130419.7pytXc1T%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=Soul.Huang@mediatek.com \
    --cc=Wan-Feng.Jiang@mediatek.com \
    --cc=clang-built-linux@googlegroups.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lorenzo@kernel.org \
    --cc=nbd@nbd.name \
    --cc=sean.wang@mediatek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®