From: kernel test robot <lkp@intel.com>
To: "Kiryl Shutsemau (Meta)" <kas@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [kas:uffd 3/12] mm/mprotect.c:659:13: error: use of undeclared identifier 'PAGE_NONE'; did you mean 'PAGE_COPY'?
Date: Wed, 15 Apr 2026 22:58:10 +0800 [thread overview]
Message-ID: <202604152211.toekRGc8-lkp@intel.com> (raw)
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
reply other threads:[~2026-04-15 14:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202604152211.toekRGc8-lkp@intel.com \
--to=lkp@intel.com \
--cc=kas@kernel.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox