CC: [email protected]
CC: Mike Rapoport <[email protected]>
CC: [email protected]
TO: "Yu-cheng Yu" <[email protected]>
CC: Mike Rapoport <[email protected]>
CC: "Kirill A. Shutemov" <[email protected]>
CC: Rick Edgecombe <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rppt/linux.git cet/kvm
head:   e2f9808bd7530f44cd5d95332036bb660b66b8db
commit: c4cd555bfd9f80a5d2cdc9993d05f3b5bcb8ccae [16/49] x86/mm: Update 
maybe_mkwrite() for shadow stack
:::::: branch date: 25 hours ago
:::::: commit date: 9 days ago
config: x86_64-randconfig-m001 
(https://download.01.org/0day-ci/archive/20220218/[email protected]/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>

New smatch warnings:
arch/x86/mm/pgtable.c:617 maybe_mkwrite() warn: bitwise AND condition is false 
here

Old smatch warnings:
arch/x86/mm/pgtable.c:281 pgd_mop_up_pmds() warn: we never enter this loop

vim +617 arch/x86/mm/pgtable.c

db3eb96f4e6281b Andrea Arcangeli 2011-01-13  612  
c4cd555bfd9f80a Yu-cheng Yu      2022-01-30  613  pte_t maybe_mkwrite(pte_t 
pte, struct vm_area_struct *vma)
c4cd555bfd9f80a Yu-cheng Yu      2022-01-30  614  {
c4cd555bfd9f80a Yu-cheng Yu      2022-01-30  615        if (vma->vm_flags & 
VM_WRITE)
c4cd555bfd9f80a Yu-cheng Yu      2022-01-30  616                pte = 
pte_mkwrite(pte);
c4cd555bfd9f80a Yu-cheng Yu      2022-01-30 @617        else if (vma->vm_flags 
& VM_SHADOW_STACK)
c4cd555bfd9f80a Yu-cheng Yu      2022-01-30  618                pte = 
pte_mkwrite_shstk(pte);
c4cd555bfd9f80a Yu-cheng Yu      2022-01-30  619        return pte;
c4cd555bfd9f80a Yu-cheng Yu      2022-01-30  620  }
c4cd555bfd9f80a Yu-cheng Yu      2022-01-30  621  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]
_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to