* [linux-next:master 3550/3551] arch/sparc/mm/srmmu.c:1082:32: warning: variable 'clear' set but not used
@ 2023-11-27 10:20 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-11-27 10:20 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: oe-kbuild-all, Linux Memory Management List
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@intel.com/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@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311271753.9HEOvyqm-lkp@intel.com/
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@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-11-27 10:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-27 10:20 [linux-next:master 3550/3551] arch/sparc/mm/srmmu.c:1082:32: warning: variable 'clear' set 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