mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* kernel/unwind/deferred.c:52:1: sparse: sparse: Initializer entry defined twice
@ 2026-12-03  9:59 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-12-03  9:59 UTC (permalink / raw)
  To: Josh Poimboeuf
  Cc: oe-kbuild-all, linux-kernel, Peter Zijlstra, Steven Rostedt (Google)

Hi Josh,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   d06ce6f1eb5eeffd4ebcfde345dc34a98131d106
commit: 49cf34c0815f93fb2ea3ab5cfbac1124bd9b45d0 unwind_user/x86: Enable frame pointer unwinding on x86
date:   1 year, 1 month ago
config: x86_64-randconfig-r2311-20261203 (https://download.01.org/0day-ci/archive/20261203/20261203105459.SYfOD3Tp-lkp@intel.com/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
sparse: v0.6.5-rc1-94-g0d159c10
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261203/20261203105459.SYfOD3Tp-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
| Fixes: 49cf34c0815f ("unwind_user/x86: Enable frame pointer unwinding on x86")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/20261203105459.SYfOD3Tp-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> kernel/unwind/deferred.c:52:1: sparse: sparse: Initializer entry defined twice
   kernel/unwind/deferred.c:52:1: sparse:   also defined here
   kernel/unwind/deferred.c:149:13: sparse: sparse: context imbalance in 'process_unwind_deferred' - different lock contexts for basic block
   kernel/unwind/deferred.c:257:13: sparse: sparse: unsigned value that used to be signed checked against zero?
   kernel/unwind/deferred.c:256:15: sparse: signed value source
   kernel/unwind/deferred.c: note: in included file (through include/linux/rbtree.h, include/linux/mm_types.h, include/asm-generic/fixmap.h, arch/x86/include/asm/fixmap.h, ...):
   include/linux/rcupdate.h:897:25: sparse: sparse: context imbalance in 'unwind_deferred_cancel' - unexpected unlock

vim +52 kernel/unwind/deferred.c

be3d526a5b34109 Steven Rostedt 2025-07-29  49  
be3d526a5b34109 Steven Rostedt 2025-07-29  50  /* Zero'd bits are available for assigning callback users */
be3d526a5b34109 Steven Rostedt 2025-07-29  51  static unsigned long unwind_mask = RESERVED_BITS;
357eda2d745054e Steven Rostedt 2025-07-29 @52  DEFINE_STATIC_SRCU(unwind_srcu);
be3d526a5b34109 Steven Rostedt 2025-07-29  53  

:::::: The code at line 52 was first introduced by commit
:::::: 357eda2d745054eb737397368bc9b0f84814b0a5 unwind deferred: Use SRCU unwind_deferred_task_work()

:::::: TO: Steven Rostedt <rostedt@goodmis.org>
:::::: CC: Steven Rostedt (Google) <rostedt@goodmis.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:[~2026-12-03 10:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-03  9:59 kernel/unwind/deferred.c:52:1: sparse: sparse: Initializer entry defined twice 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

all inboxes | Powered by JetHome®