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@xxxxxxxxx/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@xxxxxxxxx> 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@xxxxxxxxxxxx> :::::: CC: David S. Miller <davem@xxxxxxxxxxxxx> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx