* [morse:mpam/snapshot+extras/v6.16-rc5 122/131] mm/memory_hotplug.c:221:6: error: redefinition of 'lockdep_assert_mems_held'
@ 2025-07-19 11:50 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-07-19 11:50 UTC (permalink / raw)
To: James Morse; +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git mpam/snapshot+extras/v6.16-rc5
head: 8c0e6855f422b15a5bfce352b703c51e69454d43
commit: 44b26ef1f0535659d2803b1118246ffb9a221c24 [122/131] mm,memory_hotplug: Add lockdep assertion helper
config: arm64-randconfig-002-20250719 (https://download.01.org/0day-ci/archive/20250719/202507191942.RK85Fqbw-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250719/202507191942.RK85Fqbw-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/202507191942.RK85Fqbw-lkp@intel.com/
All errors (new ones prefixed by >>):
>> mm/memory_hotplug.c:221:6: error: redefinition of 'lockdep_assert_mems_held'
221 | void lockdep_assert_mems_held(void)
| ^
include/linux/memory_hotplug.h:339:20: note: previous definition is here
339 | static inline void lockdep_assert_mems_held(void) { }
| ^
1 error generated.
vim +/lockdep_assert_mems_held +221 mm/memory_hotplug.c
220
> 221 void lockdep_assert_mems_held(void)
222 {
223 /* See lockdep_assert_cpus_held() */
224 if (system_state < SYSTEM_RUNNING)
225 return;
226
227 percpu_rwsem_assert_held(&mem_hotplug_lock);
228 }
229
--
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-07-19 11:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-19 11:50 [morse:mpam/snapshot+extras/v6.16-rc5 122/131] mm/memory_hotplug.c:221:6: error: redefinition of 'lockdep_assert_mems_held' 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;
as well as URLs for NNTP newsgroup(s).