The patch titled Subject: mm-move-follow_phys-to-arch-x86-mm-pat-memtypec-fix has been added to the -mm mm-unstable branch. Its filename is mm-move-follow_phys-to-arch-x86-mm-pat-memtypec-fix.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-move-follow_phys-to-arch-x86-mm-pat-memtypec-fix.patch This patch will later appear in the mm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: mm-move-follow_phys-to-arch-x86-mm-pat-memtypec-fix Date: Mon Mar 25 01:14:34 PM PDT 2024 whitespace fix, per Ingo Cc: Andy Lutomirski <luto@xxxxxxxxxx> Cc: Christoph Hellwig <hch@xxxxxx> Cc: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx> Cc: Fei Li <fei1.li@xxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxxxxx> Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx> Cc: David Hildenbrand <david@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/x86/mm/pat/memtype.c | 1 + 1 file changed, 1 insertion(+) --- a/arch/x86/mm/pat/memtype.c~mm-move-follow_phys-to-arch-x86-mm-pat-memtypec-fix +++ a/arch/x86/mm/pat/memtype.c @@ -958,6 +958,7 @@ static int follow_phys(struct vm_area_st if (follow_pte(vma->vm_mm, vma->vm_start, &ptep, &ptl)) return -EINVAL; + pte = ptep_get(ptep); *prot = pgprot_val(pte_pgprot(pte)); *phys = (resource_size_t)pte_pfn(pte) << PAGE_SHIFT; _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm-sparc-change-pxd_huge-behavior-to-exclude-swap-entries-fix.patch mm-move-follow_phys-to-arch-x86-mm-pat-memtypec-fix.patch