* [liam:maple_marks_v7.2_fixes 13/33] lib/maple_tree.c:744:29: error: conflicting types for 'mt_locked'
@ 2026-06-30 2:28 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-06-30 2:28 UTC (permalink / raw)
To: Liam R. Howlett (Oracle); +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/liam/linux.git maple_marks_v7.2_fixes
head: 1536d2bf9195cbde5a1dd7fa78fd6995a29b004f
commit: 6f34957a13773332ff09b7cd43aa9486f0adb285 [13/33] maple_tree: Fix dereference of rcu type
config: arm-allnoconfig (https://download.01.org/0day-ci/archive/20260630/202606301011.csHUFTZa-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260630/202606301011.csHUFTZa-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/202606301011.csHUFTZa-lkp@intel.com/
All errors (new ones prefixed by >>):
lib/maple_tree.c:531:14: error: call to undeclared function 'mt_locked'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
531 | mt_locked(mas->tree)));
| ^
>> lib/maple_tree.c:744:29: error: conflicting types for 'mt_locked'
744 | static __always_inline bool mt_locked(const struct maple_tree *mt)
| ^
lib/maple_tree.c:531:14: note: previous implicit declaration is here
531 | mt_locked(mas->tree)));
| ^
2 errors generated.
vim +/mt_locked +744 lib/maple_tree.c
19a462f06eb5a7 Liam R. Howlett 2023-07-14 743
271f61a8b41dcd Liam R. Howlett 2023-11-01 @744 static __always_inline bool mt_locked(const struct maple_tree *mt)
54a611b605901c Liam R. Howlett 2022-09-06 745 {
54a611b605901c Liam R. Howlett 2022-09-06 746 return mt_external_lock(mt) ? mt_lock_is_held(mt) :
54a611b605901c Liam R. Howlett 2022-09-06 747 lockdep_is_held(&mt->ma_lock);
54a611b605901c Liam R. Howlett 2022-09-06 748 }
54a611b605901c Liam R. Howlett 2022-09-06 749
:::::: The code at line 744 was first introduced by commit
:::::: 271f61a8b41dcd86e1ecc2e0455bcc071bc7dde4 maple_tree: clean up inlines for some functions
:::::: TO: Liam R. Howlett <Liam.Howlett@oracle.com>
:::::: CC: Andrew Morton <akpm@linux-foundation.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-06-30 2:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-30 2:28 [liam:maple_marks_v7.2_fixes 13/33] lib/maple_tree.c:744:29: error: conflicting types for 'mt_locked' 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