public inbox for linux-mm@kvack.org
 help / color / mirror / Atom feed
* [akpm-mm:mm-new /419] mm/page_alloc.c:557:31: error: 'MIGRATE_CMA' undeclared; did you mean 'MIGRATE_SYNC'?
@ 2026-03-17 23:46 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-03-17 23:46 UTC (permalink / raw)
  To: Michal Clapinski
  Cc: oe-kbuild-all, David Hildenbrand, Andrew Morton,
	Linux Memory Management List

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-new
head:   c31e58126afa2665dc5b7f78c60e5fb25218d7e5
commit: 1e1dab36a7f3e06700a97696f62e7691ce4ea85a [/419] kho: fix deferred init of kho scratch
config: nios2-allnoconfig (https://download.01.org/0day-ci/archive/20260318/202603180720.1BYScGIj-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260318/202603180720.1BYScGIj-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/202603180720.1BYScGIj-lkp@intel.com/

All errors (new ones prefixed by >>):

   mm/page_alloc.c: In function 'init_pageblock_migratetype':
>> mm/page_alloc.c:557:31: error: 'MIGRATE_CMA' undeclared (first use in this function); did you mean 'MIGRATE_SYNC'?
     557 |                 migratetype = MIGRATE_CMA;
         |                               ^~~~~~~~~~~
         |                               MIGRATE_SYNC
   mm/page_alloc.c:557:31: note: each undeclared identifier is reported only once for each function it appears in


vim +557 mm/page_alloc.c

   542	
   543	void __meminit init_pageblock_migratetype(struct page *page,
   544						  enum migratetype migratetype,
   545						  bool isolate)
   546	{
   547		unsigned long flags;
   548	
   549		if (unlikely(page_group_by_mobility_disabled &&
   550			     migratetype < MIGRATE_PCPTYPES))
   551			migratetype = MIGRATE_UNMOVABLE;
   552	
   553		/*
   554		 * Mark KHO scratch as CMA so no unmovable allocations are made there.
   555		 */
   556		if (unlikely(kho_scratch_overlap(page_to_phys(page), PAGE_SIZE)))
 > 557			migratetype = MIGRATE_CMA;
   558	
   559		flags = migratetype;
   560	

-- 
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-03-17 23:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-17 23:46 [akpm-mm:mm-new /419] mm/page_alloc.c:557:31: error: 'MIGRATE_CMA' undeclared; did you mean 'MIGRATE_SYNC'? 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