tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 48bbaf8b793e0770798519f8ee1ea2908ff0943a commit: 233d97f67e6525aff8a621735926a8acbd980ca1 [3550/3551] sparc: turn off Werror for now config: sparc-allnoconfig (https://download.01.org/0day-ci/archive/20231127/202311271753.9HEOvyqm-lkp@xxxxxxxxx/config) compiler: sparc-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231127/202311271753.9HEOvyqm-lkp@xxxxxxxxx/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202311271753.9HEOvyqm-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): arch/sparc/mm/srmmu.c: In function 'poke_hypersparc': >> arch/sparc/mm/srmmu.c:1082:32: warning: variable 'clear' set but not used [-Wunused-but-set-variable] 1082 | volatile unsigned long clear; | ^~~~~ -- arch/sparc/mm/leon_mm.c: In function 'leon_swprobe': >> arch/sparc/mm/leon_mm.c:42:32: warning: variable 'paddrbase' set but not used [-Wunused-but-set-variable] 42 | unsigned int lvl, pte, paddrbase; | ^~~~~~~~~ vim +/clear +1082 arch/sparc/mm/srmmu.c ^1da177e4c3f41 Linus Torvalds 2005-04-16 1079 2066aadd53c563 Paul Gortmaker 2013-06-17 1080 static void poke_hypersparc(void) ^1da177e4c3f41 Linus Torvalds 2005-04-16 1081 { ^1da177e4c3f41 Linus Torvalds 2005-04-16 @1082 volatile unsigned long clear; ^1da177e4c3f41 Linus Torvalds 2005-04-16 1083 unsigned long mreg = srmmu_get_mmureg(); ^1da177e4c3f41 Linus Torvalds 2005-04-16 1084 ^1da177e4c3f41 Linus Torvalds 2005-04-16 1085 hyper_flush_unconditional_combined(); ^1da177e4c3f41 Linus Torvalds 2005-04-16 1086 ^1da177e4c3f41 Linus Torvalds 2005-04-16 1087 mreg &= ~(HYPERSPARC_CWENABLE); ^1da177e4c3f41 Linus Torvalds 2005-04-16 1088 mreg |= (HYPERSPARC_CENABLE | HYPERSPARC_WBENABLE); ^1da177e4c3f41 Linus Torvalds 2005-04-16 1089 mreg |= (HYPERSPARC_CMODE); ^1da177e4c3f41 Linus Torvalds 2005-04-16 1090 ^1da177e4c3f41 Linus Torvalds 2005-04-16 1091 srmmu_set_mmureg(mreg); ^1da177e4c3f41 Linus Torvalds 2005-04-16 1092 :::::: The code at line 1082 was first introduced by commit :::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2 :::::: TO: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx> :::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki