* [liam:maple_marks_v7.2 3/31] lib/maple_tree.c:1158:21: warning: no previous prototype for function 'mas_lockdep_map'
@ 2026-06-26 21:38 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-06-26 21:38 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: i386-randconfig-141-20260627 (https://download.01.org/0day-ci/archive/20260627/202606270553.g1bOF8H8-lkp@intel.com/config)
compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211)
smatch: v0.5.0-9185-gbcc58b9c
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260627/202606270553.g1bOF8H8-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/202606270553.g1bOF8H8-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> lib/maple_tree.c:1158:21: warning: no previous prototype for function 'mas_lockdep_map' [-Wmissing-prototypes]
1158 | struct lockdep_map *mas_lockdep_map(struct ma_state *mas)
| ^
lib/maple_tree.c:1158:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1158 | struct lockdep_map *mas_lockdep_map(struct ma_state *mas)
| ^
| static
1 warning generated.
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-26 21:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-26 21:38 [liam:maple_marks_v7.2 3/31] lib/maple_tree.c:1158:21: warning: no previous prototype for function 'mas_lockdep_map' 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.