* [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
2026-10-13 22:12 ` Andrew Morton
0 siblings, 1 reply; 2+ messages 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] 2+ messages in thread* Re: [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 [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
@ 2026-10-13 22:12 ` Andrew Morton
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2026-10-13 22:12 UTC (permalink / raw)
To: kernel test robot
Cc: Muchun Song, oe-kbuild-all, David Hildenbrand,
Linux Memory Management List, mm-commits
On Tue, 13 Oct 2026 14:18:21 +0200 kernel test robot <lkp@intel.com> wrote:
> 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
OK, thanks, that patch is dependent on "riscv/mm: fix hotplug
page-table destructor handling", which I've disabled to simplify
merging with riscv.
I'll temporarily disable "riscv/mm: fix missing destructor for hotplug
PUD tables" as well.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-10-13 22:12 UTC | newest]
Thread overview: 2+ messages (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
2026-10-13 22:12 ` Andrew Morton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox