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@xxxxxxxxx/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@xxxxxxxxx/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@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202503011224.Gak85jxJ-lkp@xxxxxxxxx/ 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