All of lore.kernel.org
 help / color / mirror / Atom feed
* [liam:maple_marks_v7.2 3/31] lib/maple_tree.c:1158:20: sparse: sparse: symbol 'mas_lockdep_map' was not declared. Should it be static?
@ 2026-06-27  3:29 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-06-27  3:29 UTC (permalink / raw)
  To: Liam R. Howlett; +Cc: oe-kbuild-all, Liam R. Howlett (Oracle)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/liam/linux.git maple_marks_v7.2
head:   be119ad50e9c87a4a975871d84614f7c6aeaf0de
commit: 3e341aa5972e499ffef5881c5dad0f9aa3488053 [3/31] maple_tree: Add write lock checking with lockdep sequence numbers
config: microblaze-randconfig-r121-20260627 (https://download.01.org/0day-ci/archive/20260627/202606271109.IvGd0Mth-lkp@intel.com/config)
compiler: microblaze-linux-gcc (GCC) 11.5.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260627/202606271109.IvGd0Mth-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/202606271109.IvGd0Mth-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> lib/maple_tree.c:1158:20: sparse: sparse: symbol 'mas_lockdep_map' was not declared. Should it be static?

vim +/mas_lockdep_map +1158 lib/maple_tree.c

  1155	
  1156	
  1157	#ifdef CONFIG_LOCKDEP
> 1158	struct lockdep_map *mas_lockdep_map(struct ma_state *mas)
  1159	{
  1160		struct maple_tree *mt = mas->tree;
  1161	
  1162		if (mt_external_lock(mt))
  1163			return mt->ma_external_lock;
  1164	
  1165		return &(mt->ma_lock).dep_map;
  1166	}
  1167	

--
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-06-27  3:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-27  3:29 [liam:maple_marks_v7.2 3/31] lib/maple_tree.c:1158:20: sparse: sparse: symbol 'mas_lockdep_map' 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.