Skip to contentSkip to conversation

mm/memory: Fix typo in __do_fault() comment

PATCH Applied [email protected] 1 participant 1 message Aug 18, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 mm/memory: Fix typo in __do_fault() comment

From: Yanfei Xu <[email protected]>

It's "pte_alloc_one", not "pte_alloc_pne". Let's fix that.

---
v2: modify the commit message

 mm/memory.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/memory.c +1 -1
index c3a83f4ca851..9cc3d0dc816c 100644
@@ -3446,7 +3446,7 @@ static vm_fault_t __do_fault(struct vm_fault *vmf)
 	 *				unlock_page(A)
 	 * lock_page(B)
 	 *				lock_page(B)
-	 * pte_alloc_pne
+	 * pte_alloc_one
 	 *   shrink_page_list
 	 *     wait_on_page_writeback(A)
 	 *				SetPageWriteback(B)
Signature · 1 line
2.18.2