From: kernel test robot <lkp@intel.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: kbuild-all@lists.01.org,
Linux Memory Management List <linux-mm@kvack.org>
Subject: [linux-next:master 5146/5235] arch/sparc/kernel/led.c:117:31: error: 'led' defined but not used
Date: Mon, 6 Dec 2021 23:26:20 +0800 [thread overview]
Message-ID: <202112062313.wCZ7MkMw-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 5d02ef4b57f6e7d4dcba14d40cf05373a146a605
commit: 7e44f57c116816d65decc1498b896835e56c0fa5 [5146/5235] proc-make-the-proc_create-stubs-static-inlines-fix2
config: sparc-randconfig-r012-20211206 (https://download.01.org/0day-ci/archive/20211206/202112062313.wCZ7MkMw-lkp@intel.com/config)
compiler: sparc-linux-gcc (GCC) 11.2.0
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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=7e44f57c116816d65decc1498b896835e56c0fa5
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 7e44f57c116816d65decc1498b896835e56c0fa5
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=sparc SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> arch/sparc/kernel/led.c:117:31: error: 'led' defined but not used [-Werror=unused-variable]
117 | static struct proc_dir_entry *led;
| ^~~
cc1: all warnings being treated as errors
vim +/led +117 arch/sparc/kernel/led.c
399dc43bc29fe1 Alexey Dobriyan 2008-06-03 116
ee1858d3122ded Lars Kotthoff 2005-11-07 @117 static struct proc_dir_entry *led;
ee1858d3122ded Lars Kotthoff 2005-11-07 118
:::::: The code at line 117 was first introduced by commit
:::::: ee1858d3122dedd2e82a61b6ab56b229aefd9447 [SPARC]: Add sun4m LED driver.
:::::: TO: Lars Kotthoff <metalhead@metalhead.ws>
:::::: CC: David S. Miller <davem@davemloft.net>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
reply other threads:[~2021-12-06 15:27 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=202112062313.wCZ7MkMw-lkp@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-mm@kvack.org \
/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