* [akpm-mm:mm-unstable 328/329] mm/page_alloc.c:421:3: error: call to undeclared function 'in_mem_hotplug'; ISO C99 and later do not support implicit function declarations
@ 2025-03-01 4:41 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-03-01 4:41 UTC (permalink / raw)
To: Brendan Jackman
Cc: llvm, oe-kbuild-all, Andrew Morton, Linux Memory Management List
tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable
head: 5f089a9aa987ccf72df0c6955e168e865f280603
commit: b4cfcc26f507ecef2861ccfb883698933083fce6 [328/329] mm/page_alloc: add lockdep assertion for pageblock type change
config: arm64-randconfig-003-20250301 (https://download.01.org/0day-ci/archive/20250301/202503011224.Gak85jxJ-lkp@intel.com/config)
compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250301/202503011224.Gak85jxJ-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/202503011224.Gak85jxJ-lkp@intel.com/
All errors (new ones prefixed by >>):
>> mm/page_alloc.c:421:3: error: call to undeclared function 'in_mem_hotplug'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
in_mem_hotplug() ||
^
1 error generated.
vim +/in_mem_hotplug +421 mm/page_alloc.c
417
418 void set_pageblock_migratetype(struct page *page, int migratetype)
419 {
420 lockdep_assert_once(system_state == SYSTEM_BOOTING ||
> 421 in_mem_hotplug() ||
422 lockdep_is_held(&page_zone(page)->lock));
423
424 if (unlikely(page_group_by_mobility_disabled &&
425 migratetype < MIGRATE_PCPTYPES))
426 migratetype = MIGRATE_UNMOVABLE;
427
428 set_pfnblock_flags_mask(page, (unsigned long)migratetype,
429 page_to_pfn(page), MIGRATETYPE_MASK);
430 }
431
--
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-03-01 4:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-01 4:41 [akpm-mm:mm-unstable 328/329] mm/page_alloc.c:421:3: error: call to undeclared function 'in_mem_hotplug'; ISO C99 and later do not support implicit function declarations 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