Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [akpm-mm:mm-unstable 183/193] arch/riscv/mm/init.c:1544:2: error: implicit declaration of function 'free_pgtable_page'; did you mean 'pmd_pgtable_page'?
@ 2026-10-13 12:18 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-13 12:18 UTC (permalink / raw)
  To: Muchun Song
  Cc: oe-kbuild-all, David Hildenbrand, Andrew Morton,
	Linux Memory Management List, mm-commits

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable
head:   7186f1bd21b9094cc063c10f8492fd135522d3cb
commit: cf6402c085736133c835e1f815f79e7e1faf97a0 [183/193] riscv/mm: fix missing destructor for hotplug PUD tables
config: riscv-randconfig-r2109-20261013 (https://download.01.org/0day-ci/archive/20261013/202610131439.F2KDdzRA-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 10.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261013/202610131439.F2KDdzRA-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/202610131439.F2KDdzRA-lkp@intel.com/

All errors (new ones prefixed by >>):

   arch/riscv/mm/init.c: In function 'free_pud_table':
>> arch/riscv/mm/init.c:1544:2: error: implicit declaration of function 'free_pgtable_page'; did you mean 'pmd_pgtable_page'? [-Werror=implicit-function-declaration]
    1544 |  free_pgtable_page(page);
         |  ^~~~~~~~~~~~~~~~~
         |  pmd_pgtable_page
   cc1: some warnings being treated as errors


vim +1544 arch/riscv/mm/init.c

  1531	
  1532	static void __meminit free_pud_table(pud_t *pud_start, p4d_t *p4d)
  1533	{
  1534		struct page *page = p4d_page(*p4d);
  1535		pud_t *pud;
  1536		int i;
  1537	
  1538		for (i = 0; i < PTRS_PER_PUD; i++) {
  1539			pud = pud_start + i;
  1540			if (!pud_none(*pud))
  1541				return;
  1542		}
  1543	
> 1544		free_pgtable_page(page);
  1545		p4d_clear(p4d);
  1546	}
  1547	

--
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-10-13 12:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-13 12:18 [akpm-mm:mm-unstable 183/193] arch/riscv/mm/init.c:1544:2: error: implicit declaration of function 'free_pgtable_page'; did you mean 'pmd_pgtable_page'? 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