linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 5146/5235] arch/sparc/kernel/led.c:117:31: error: 'led' defined but not used
@ 2021-12-06 15:26 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-12-06 15:26 UTC (permalink / raw)
  To: Andrew Morton; +Cc: kbuild-all, Linux Memory Management List

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-06 15:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-06 15:26 [linux-next:master 5146/5235] arch/sparc/kernel/led.c:117:31: error: 'led' defined but not used kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox