All of lore.kernel.org
 help / color / mirror / Atom feed
* [brauner-github:namespace-6.19 13/73] kernel/nstree.c:7:28: sparse: sparse: symbol 'ns_tree_lock' was not declared. Should it be static?
@ 2025-10-31  6:00 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-10-31  6:00 UTC (permalink / raw)
  To: Christian Brauner; +Cc: oe-kbuild-all, Christian Brauner

tree:   https://github.com/brauner/linux.git namespace-6.19
head:   232affb34bfb5be4df33a3e7bc92154e38f74535
commit: 6696d17cfe2b00c43717aecab6f461e1a68c7b28 [13/73] nstree: introduce a unified tree
config: nios2-randconfig-r113-20251031 (https://download.01.org/0day-ci/archive/20251031/202510311331.IAWNYwBY-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251031/202510311331.IAWNYwBY-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/202510311331.IAWNYwBY-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> kernel/nstree.c:7:28: sparse: sparse: symbol 'ns_tree_lock' was not declared. Should it be static?
   kernel/nstree.c: note: in included file (through include/linux/ns_common.h, include/linux/nstree.h):
   include/linux/rbtree.h:74:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
   include/linux/rbtree.h:74:9: sparse:    struct rb_node [noderef] __rcu *
   include/linux/rbtree.h:74:9: sparse:    struct rb_node *
   include/linux/rbtree.h:74:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
   include/linux/rbtree.h:74:9: sparse:    struct rb_node [noderef] __rcu *
   include/linux/rbtree.h:74:9: sparse:    struct rb_node *

vim +/ns_tree_lock +7 kernel/nstree.c

     6	
   > 7	__cacheline_aligned_in_smp DEFINE_SEQLOCK(ns_tree_lock);
     8	static struct rb_root ns_unified_tree = RB_ROOT; /* protected by ns_tree_lock */
     9	

-- 
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:[~2025-10-31  6:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-31  6:00 [brauner-github:namespace-6.19 13/73] kernel/nstree.c:7:28: sparse: sparse: symbol 'ns_tree_lock' was not declared. Should it be static? 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.