From: kernel test robot <lkp@intel.com>
To: Hector Martin <marcan@marcan.st>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org
Subject: [asahilinux:bits/080-wifi 11/39] drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c:74:10: warning: variable 'len' set but not used
Date: Fri, 21 Jan 2022 22:05:28 +0800 [thread overview]
Message-ID: <202201212104.gFjUBTm8-lkp@intel.com> (raw)
tree: https://github.com/AsahiLinux/linux bits/080-wifi
head: 1753101ce16367deadb5ec5ab5dc7ab4894649bf
commit: cc44c86950084bc3437485288390841cf117c0d1 [11/39] brcmfmac: of: Use devm_kstrdup for board_type & check for errors
config: x86_64-randconfig-a003-20220117 (https://download.01.org/0day-ci/archive/20220121/202201212104.gFjUBTm8-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 7b3d30728816403d1fd73cc5082e9fb761262bce)
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
# https://github.com/AsahiLinux/linux/commit/cc44c86950084bc3437485288390841cf117c0d1
git remote add asahilinux https://github.com/AsahiLinux/linux
git fetch --no-tags asahilinux bits/080-wifi
git checkout cc44c86950084bc3437485288390841cf117c0d1
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/net/wireless/broadcom/brcm80211/brcmfmac/
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/broadcom/brcm80211/brcmfmac/of.c:74:10: warning: variable 'len' set but not used [-Wunused-but-set-variable]
int i, len;
^
1 warning generated.
vim +/len +74 drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c
1a3ac5c651a0c85 drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c Shawn Guo 2021-04-17 60
e457a8a01a19277 drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c Rafał Miłecki 2017-01-07 61 void brcmf_of_probe(struct device *dev, enum brcmf_bus_type bus_type,
e457a8a01a19277 drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c Rafał Miłecki 2017-01-07 62 struct brcmf_mp_device *settings)
61f663dfc1a091c drivers/net/wireless/brcm80211/brcmfmac/of.c Chen-Yu Tsai 2014-06-29 63 {
e457a8a01a19277 drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c Rafał Miłecki 2017-01-07 64 struct brcmfmac_sdio_pd *sdio = &settings->bus.sdio;
0ad4b55b2f29784 drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c Hans de Goede 2018-10-10 65 struct device_node *root, *np = dev->of_node;
61f663dfc1a091c drivers/net/wireless/brcm80211/brcmfmac/of.c Chen-Yu Tsai 2014-06-29 66 int irq;
1a3ac5c651a0c85 drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c Shawn Guo 2021-04-17 67 int err;
61f663dfc1a091c drivers/net/wireless/brcm80211/brcmfmac/of.c Chen-Yu Tsai 2014-06-29 68 u32 irqf;
61f663dfc1a091c drivers/net/wireless/brcm80211/brcmfmac/of.c Chen-Yu Tsai 2014-06-29 69 u32 val;
61f663dfc1a091c drivers/net/wireless/brcm80211/brcmfmac/of.c Chen-Yu Tsai 2014-06-29 70
0ad4b55b2f29784 drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c Hans de Goede 2018-10-10 71 /* Set board-type to the first string of the machine compatible prop */
0ad4b55b2f29784 drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c Hans de Goede 2018-10-10 72 root = of_find_node_by_path("/");
0ad4b55b2f29784 drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c Hans de Goede 2018-10-10 73 if (root) {
29e354ebeeecaee drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c Matthias Brugger 2020-07-01 @74 int i, len;
:::::: The code at line 74 was first introduced by commit
:::::: 29e354ebeeecaee979e6fe22cd6272682d7552c9 brcmfmac: Transform compatible string for FW loading
:::::: TO: Matthias Brugger <mbrugger@suse.com>
:::::: CC: Kalle Valo <kvalo@codeaurora.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
reply other threads:[~2022-01-21 14:05 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=202201212104.gFjUBTm8-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=marcan@marcan.st \
/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
Powered by JetHome