* [kas:uffd 3/12] mm/mprotect.c:659:13: error: use of undeclared identifier 'PAGE_NONE'; did you mean 'PAGE_COPY'?
@ 2026-04-15 14:58 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-04-15 14:58 UTC (permalink / raw)
To: Kiryl Shutsemau (Meta); +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/kas/linux.git uffd
head: bfa1e12c7a014c9ce5d1ae4b8b43dcb8e3d62965
commit: 871fdd0aefe33cdad832ec2005b7b8f5a1059033 [3/12] userfaultfd: implement UFFDIO_DEACTIVATE ioctl
config: sparc64-defconfig (https://download.01.org/0day-ci/archive/20260415/202604152211.toekRGc8-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/20260415/202604152211.toekRGc8-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/202604152211.toekRGc8-lkp@intel.com/
All errors (new ones prefixed by >>):
>> mm/mprotect.c:659:13: error: use of undeclared identifier 'PAGE_NONE'; did you mean 'PAGE_COPY'?
659 | newprot = PAGE_NONE;
| ^~~~~~~~~
| PAGE_COPY
arch/sparc/include/asm/pgtable_64.h:202:17: note: 'PAGE_COPY' declared here
202 | extern pgprot_t PAGE_COPY;
| ^
1 error generated.
vim +659 mm/mprotect.c
657
658 if (cp_flags & MM_CP_UFFD_DEACTIVATE)
> 659 newprot = PAGE_NONE;
660
661 if (is_vm_hugetlb_page(vma))
662 pages = hugetlb_change_protection(vma, start, end, newprot,
663 cp_flags);
664 else
665 pages = change_protection_range(tlb, vma, start, end, newprot,
666 cp_flags);
667
668 return pages;
669 }
670
--
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 14:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-15 14:58 [kas:uffd 3/12] mm/mprotect.c:659:13: error: use of undeclared identifier 'PAGE_NONE'; did you mean 'PAGE_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