* [davidhildenbrand:nth_page 13/34] mm/hugetlb.c:3250:28: error: use of undeclared identifier 'pfn'
@ 2025-08-23 7:52 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-08-23 7:52 UTC (permalink / raw)
To: David Hildenbrand; +Cc: llvm, oe-kbuild-all
tree: https://github.com/davidhildenbrand/linux nth_page
head: 6604ef076c5814154b00afdb7ea9ce90fd598b08
commit: a81868b2ce05b94ec839ecbb2bb93376cf44c724 [13/34] mm/hugetlb: cleanup hugetlb_folio_init_tail_vmemmap()
config: i386-buildonly-randconfig-003-20250823 (https://download.01.org/0day-ci/archive/20250823/202508231549.LAQRn060-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250823/202508231549.LAQRn060-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/202508231549.LAQRn060-lkp@intel.com/
All errors (new ones prefixed by >>):
>> mm/hugetlb.c:3250:28: error: use of undeclared identifier 'pfn'
3250 | __init_single_page(page, pfn, zone, nid);
| ^
1 error generated.
vim +/pfn +3250 mm/hugetlb.c
aa888a74977a8f2 Andi Kleen 2008-07-23 3232
fde1c4ecf91640e Usama Arif 2023-09-13 3233 /* Initialize [start_page:end_page_number] tail struct pages of a hugepage */
fde1c4ecf91640e Usama Arif 2023-09-13 3234 static void __init hugetlb_folio_init_tail_vmemmap(struct folio *folio,
fde1c4ecf91640e Usama Arif 2023-09-13 3235 unsigned long start_page_number,
fde1c4ecf91640e Usama Arif 2023-09-13 3236 unsigned long end_page_number)
fde1c4ecf91640e Usama Arif 2023-09-13 3237 {
fde1c4ecf91640e Usama Arif 2023-09-13 3238 enum zone_type zone = zone_idx(folio_zone(folio));
fde1c4ecf91640e Usama Arif 2023-09-13 3239 int nid = folio_nid(folio);
a81868b2ce05b94 David Hildenbrand 2025-08-07 3240 struct page *head_page = folio_page(folio, 0);
a81868b2ce05b94 David Hildenbrand 2025-08-07 3241 struct page *page = folio_page(folio, start_page_number);
a81868b2ce05b94 David Hildenbrand 2025-08-07 3242 unsigned long i;
fde1c4ecf91640e Usama Arif 2023-09-13 3243 int ret;
fde1c4ecf91640e Usama Arif 2023-09-13 3244
a81868b2ce05b94 David Hildenbrand 2025-08-07 3245 /*
a81868b2ce05b94 David Hildenbrand 2025-08-07 3246 * We mark all tail pages with memblock_reserved_mark_noinit(),
a81868b2ce05b94 David Hildenbrand 2025-08-07 3247 * so these pages are completely uninitialized.
a81868b2ce05b94 David Hildenbrand 2025-08-07 3248 */
a81868b2ce05b94 David Hildenbrand 2025-08-07 3249 for (i = start_page_number; i < end_page_number; i++, page++) {
fde1c4ecf91640e Usama Arif 2023-09-13 @3250 __init_single_page(page, pfn, zone, nid);
a81868b2ce05b94 David Hildenbrand 2025-08-07 3251 prep_compound_tail(head_page, i);
a81868b2ce05b94 David Hildenbrand 2025-08-07 3252 set_page_count(page, 0);
fde1c4ecf91640e Usama Arif 2023-09-13 3253 }
fde1c4ecf91640e Usama Arif 2023-09-13 3254 }
fde1c4ecf91640e Usama Arif 2023-09-13 3255
:::::: The code at line 3250 was first introduced by commit
:::::: fde1c4ecf91640e5a95ec36b71ec2e8ec379ce40 mm: hugetlb: skip initialization of gigantic tail struct pages if freed by HVO
:::::: TO: Usama Arif <usama.arif@bytedance.com>
:::::: CC: Andrew Morton <akpm@linux-foundation.org>
--
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-08-23 7:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-23 7:52 [davidhildenbrand:nth_page 13/34] mm/hugetlb.c:3250:28: error: use of undeclared identifier 'pfn' 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;
as well as URLs for NNTP newsgroup(s).