* [paulmckrcu:dev 22/23] kernel/smp.c:51:33: warning: unused variable 'trigger_backtrace'
@ 2026-12-02 4:24 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-12-02 4:24 UTC (permalink / raw)
To: Paul E. McKenney; +Cc: oe-kbuild-all
tree: https://github.com/paulmckrcu/linux dev
head: 0a3255f7d3b85740b4db8284f8166ebaad51ab4f
commit: db5b678e69180946315fed0f2c5d59e176fffb23 [22/23] smp: Avoid redundant stack traces
config: hexagon-randconfig-2200-20261202 (https://download.01.org/0day-ci/archive/20261202/20261202052007.zMdoI42e-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
smatch: v0.5.0-9187-g5189e3fb
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261202/20261202052007.zMdoI42e-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/20261202052007.zMdoI42e-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> kernel/smp.c:51:33: warning: unused variable 'trigger_backtrace' [-Wunused-variable]
51 | static DEFINE_PER_CPU(atomic_t, trigger_backtrace);
| ^~~~~~~~~~~~~~~~~
include/linux/percpu-defs.h:109:31: note: expanded from macro 'DEFINE_PER_CPU'
109 | DEFINE_PER_CPU_SECTION(type, name, "")
| ^~~~
include/linux/percpu-defs.h:98:37: note: expanded from macro 'DEFINE_PER_CPU_SECTION'
98 | __PCPU_ATTRS(sec) __typeof__(type) name
| ^~~~
1 warning generated.
vim +/trigger_backtrace +51 kernel/smp.c
50
> 51 static DEFINE_PER_CPU(atomic_t, trigger_backtrace);
52
--
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:[~2026-12-02 4:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-02 4:24 [paulmckrcu:dev 22/23] kernel/smp.c:51:33: warning: unused variable 'trigger_backtrace' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.