
# Automatically generated file DO NOT EDIT. > 335 static inline pte_t pte_wrprotect(pte_t pte)ģ37 return pte_clear_flags(pte, _PAGE_RW) > 316 return pte_wrprotect(pte_set_flags(pte, _PAGE_UFFD_WP)) ģ19 static inline pte_t pte_clear_uffd_wp(pte_t pte)ģ21 return pte_clear_flags(pte, _PAGE_UFFD_WP) ģ23 #endif /* CONFIG_HAVE_ARCH_USERFAULTFD_WP */ģ25 static inline pte_t pte_mkclean(pte_t pte)ģ27 return pte_clear_flags(pte, _PAGE_DIRTY) ģ30 static inline pte_t pte_mkold(pte_t pte)ģ32 return pte_clear_flags(pte, _PAGE_ACCESSED)

Make: *** Error 2ģ14 static inline pte_t pte_mkuffd_wp(pte_t pte) Make: Target 'prepare' not remade because of errors. > arch/x86/include/asm/pgtable.h:335:21: error: conflicting types for 'pte_wrprotect' have 'pte_t(pte_t)'ģ35 | static inline pte_t pte_wrprotect(pte_t pte)Īrch/x86/include/asm/pgtable.h:316:16: note: previous implicit declaration of 'pte_wrprotect' with type 'int()'Ĭc1: some warnings being treated as errors > arch/x86/include/asm/pgtable.h:316:16: error: incompatible types when returning type 'int' but 'pte_t' was expected > arch/x86/include/asm/pgtable.h:316:16: error: implicit declaration of function 'pte_wrprotect' did you mean 'pte_write'? ģ16 | return pte_wrprotect(pte_set_flags(pte, _PAGE_UFFD_WP)) In file included from include/linux/pgtable.h:6,Īrch/x86/include/asm/pgtable.h: In function 'pte_mkuffd_wp': Scripts/genksyms/parse.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples Scripts/genksyms/parse.y: warning: 5 reduce/reduce conflicts Scripts/genksyms/parse.y: warning: 9 shift/reduce conflicts If you fix the issue, kindly add following tag where applicable Mkdir build_dir & cp config build_dir/.config

Git fetch -no-tags linux-review Peter-Xu/mm-uffd-Always-wr-protect-pte-in-pte_mkuffd_wp/20221206-050912

BOCHS GAMEPORT PATCH
Patch subject: mm/uffd: Always wr-protect pte in pte_mkuffd_wp()Ĭompiler: gcc-11 (Debian 11.3.0-8) 11.3.0 Thank you for the patch! Yet something to improve: Subject: Re: mm/uffd: Always wr-protect pte in pte_mkuffd_wp()ĭate: Tue, 08:46:17 +0800 Re: mm/uffd: Always wr-protect pte in pte_mkuffd_wp() - kernel test robot All of help / color / mirror / Atom feed From: kernel test robot
