mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Josh Poimboeuf <jpoimboe@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
	Peter Zijlstra <peterz@infradead.org>,
	"Steven Rostedt (Google)" <rostedt@goodmis.org>
Subject: kernel/unwind/deferred.c:52:1: sparse: sparse: Initializer entry defined twice
Date: Thu, 03 Dec 2026 10:59:54 +0100	[thread overview]
Message-ID: <20261203105459.SYfOD3Tp-lkp@intel.com> (raw)

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

                 reply	other threads:[~2026-12-03 10:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261203105459.SYfOD3Tp-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=jpoimboe@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=peterz@infradead.org \
    --cc=rostedt@goodmis.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®