Skip to contentSkip to conversation

mm/memory: Fix a typo in comment "attampt"->"attempt"

PATCH Applied Ethon Paul 1 participant 1 message Apr 11, 2020

Subsystems (2)
lore
Share & tools
lore

Ethon Paul

author
#0 lore raw

PATCH 1/1 mm/memory: Fix a typo in comment "attampt"->"attempt"

There is a comment in typo, fix it.

---
 mm/memory.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/memory.c +1 -1
index 19874d133a66..584c9f5270df 100644
@@ -2335,7 +2335,7 @@ static inline bool cow_user_page(struct page *dst, struct page *src,
 		}
 
 		/*
-		 * The same page can be mapped back since last copy attampt.
+		 * The same page can be mapped back since last copy attempt.
 		 * Try to copy again under PTL.
 		 */
 		if (__copy_from_user_inatomic(kaddr, uaddr, PAGE_SIZE)) {
Signature · 1 line
2.24.1 (Apple Git-126)