cramfs-fix-incorrect-physical-page-address-calculation.patch removed from -mm tree
The quilt patch titled
Subject: cramfs: fix incorrect physical page address calculation
has been removed from the -mm tree. Its filename was
cramfs-fix-incorrect-physical-page-address-calculation.patch
This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Alistair Popple <[email protected]>
Subject: cramfs: fix incorrect physical page address calculation
Date: Tue, 23 Sep 2025 10:53:33 +1000
Commit 21aa65bf82a7 ("mm: remove callers of pfn_t functionality") incorrectly replaced the pfn with the physical address when calling vmf_insert_mixed(). Instead the phys_to_pfn_t() call should have been replaced with PHYS_PFN().
Found by inspection after a similar issue was noted in fuse virtio_fs.
---
fs/cramfs/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/cramfs/inode.c renamed from fs/cramfs/inode.c~cramfs-fix-incorrect-physical-page-address-calculation +1 -1
@@ -412,7 +412,7 @@ static int cramfs_physmem_mmap(struct fivm_fault_t vmf;unsigned long off = i *PAGE_SIZE ; vmf =vmf_insert_mixed (vma, vma->vm_start + off, - address + off); +PHYS_PFN (address + off));if (vmf &VM_FAULT_ERROR ) ret =vm_fault_to_errno (vmf,0 ); }
_
Patches currently in -mm which might be from [email protected] are