* [davidhildenbrand:fork_pat 1/1] include/linux/pgtable.h:1525:13: error: unused function 'untrack_pfn_copy'
@ 2025-03-25 2:04 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-03-25 2:04 UTC (permalink / raw)
To: David Hildenbrand; +Cc: llvm, oe-kbuild-all
tree: https://github.com/davidhildenbrand/linux fork_pat
head: 4474ef40921c064454fd03245526fc80f373873e
commit: 4474ef40921c064454fd03245526fc80f373873e [1/1] x86/mm/pat: Fix VM_PAT handling when fork() fails in copy_page_range()
config: powerpc-randconfig-001-20250325 (https://download.01.org/0day-ci/archive/20250325/202503250935.Gm7ENdAr-lkp@intel.com/config)
compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project c2692afc0a92cd5da140dfcdfff7818a5b8ce997)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250325/202503250935.Gm7ENdAr-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/202503250935.Gm7ENdAr-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from lib/test_bitops.c:12:
In file included from include/linux/slab.h:256:
In file included from include/linux/kasan.h:37:
>> include/linux/pgtable.h:1525:13: error: unused function 'untrack_pfn_copy' [-Werror,-Wunused-function]
1525 | static void untrack_pfn_copy(struct vm_area_struct *dst_vma, unsigned long pfn)
| ^~~~~~~~~~~~~~~~
1 error generated.
vim +/untrack_pfn_copy +1525 include/linux/pgtable.h
1520
1521 /*
1522 * untrack_pfn_copy is called when a VM_PFNMAP VMA failed to copy during
1523 * copy_page_range(), but after track_pfn_copy() was already called.
1524 */
> 1525 static void untrack_pfn_copy(struct vm_area_struct *dst_vma, unsigned long pfn)
1526 {
1527 }
1528
--
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-03-25 2:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-25 2:04 [davidhildenbrand:fork_pat 1/1] include/linux/pgtable.h:1525:13: error: unused function 'untrack_pfn_copy' 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