* [kas:uffd 4/12] mm/userfaultfd.c:427:17: error: implicit declaration of function 'pmd_modify'; did you mean 'pte_modify'?
@ 2026-04-15 13:53 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-04-15 13:53 UTC (permalink / raw)
To: Kiryl Shutsemau (Meta); +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/kas/linux.git uffd
head: bfa1e12c7a014c9ce5d1ae4b8b43dcb8e3d62965
commit: 83ce0c5a2d4e93266638ef2f1d2b58166bae1e8d [4/12] userfaultfd: UFFDIO_CONTINUE for anonymous memory
config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20260415/202604152151.rLdqv1sG-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260415/202604152151.rLdqv1sG-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/202604152151.rLdqv1sG-lkp@intel.com/
All errors (new ones prefixed by >>):
mm/userfaultfd.c: In function 'mfill_atomic_pmd_continue_anon':
>> mm/userfaultfd.c:427:17: error: implicit declaration of function 'pmd_modify'; did you mean 'pte_modify'? [-Wimplicit-function-declaration]
427 | entry = pmd_modify(orig_pmd, vma->vm_page_prot);
| ^~~~~~~~~~
| pte_modify
>> mm/userfaultfd.c:427:17: error: incompatible types when assigning to type 'pmd_t' from type 'int'
>> mm/userfaultfd.c:428:17: error: implicit declaration of function 'pmd_mkyoung'; did you mean 'pmd_young'? [-Wimplicit-function-declaration]
428 | entry = pmd_mkyoung(entry);
| ^~~~~~~~~~~
| pmd_young
mm/userfaultfd.c:428:17: error: incompatible types when assigning to type 'pmd_t' from type 'int'
>> mm/userfaultfd.c:430:25: error: implicit declaration of function 'pmd_wrprotect'; did you mean 'pte_wrprotect'? [-Wimplicit-function-declaration]
430 | entry = pmd_wrprotect(entry);
| ^~~~~~~~~~~~~
| pte_wrprotect
mm/userfaultfd.c:430:25: error: incompatible types when assigning to type 'pmd_t' from type 'int'
>> mm/userfaultfd.c:431:9: error: implicit declaration of function 'set_pmd_at'; did you mean 'set_pte_at'? [-Wimplicit-function-declaration]
431 | set_pmd_at(mm, addr & HPAGE_PMD_MASK, pmd, entry);
| ^~~~~~~~~~
| set_pte_at
>> mm/userfaultfd.c:432:9: error: implicit declaration of function 'update_mmu_cache_pmd'; did you mean 'update_mmu_cache'? [-Wimplicit-function-declaration]
432 | update_mmu_cache_pmd(vma, addr, pmd);
| ^~~~~~~~~~~~~~~~~~~~
| update_mmu_cache
vim +427 mm/userfaultfd.c
411
412 static int mfill_atomic_pmd_continue_anon(struct mm_struct *mm,
413 struct vm_area_struct *vma,
414 unsigned long addr,
415 pmd_t *pmd, pmd_t orig_pmd,
416 uffd_flags_t flags)
417 {
418 spinlock_t *ptl;
419 pmd_t entry;
420
421 ptl = pmd_lock(mm, pmd);
422 if (unlikely(!pmd_same(pmdp_get(pmd), orig_pmd))) {
423 spin_unlock(ptl);
424 return -EAGAIN;
425 }
426
> 427 entry = pmd_modify(orig_pmd, vma->vm_page_prot);
> 428 entry = pmd_mkyoung(entry);
429 if (flags & MFILL_ATOMIC_WP)
> 430 entry = pmd_wrprotect(entry);
> 431 set_pmd_at(mm, addr & HPAGE_PMD_MASK, pmd, entry);
> 432 update_mmu_cache_pmd(vma, addr, pmd);
433 spin_unlock(ptl);
434 return 0;
435 }
436
--
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-04-15 13:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-15 13:53 [kas:uffd 4/12] mm/userfaultfd.c:427:17: error: implicit declaration of function 'pmd_modify'; did you mean 'pte_modify'? kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.