diff mbox series

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

Message ID 20200411004043.14686-1-ethp@qq.com (mailing list archive)
State New, archived
Headers show
Series mm/memory: Fix a typo in comment "attampt"->"attempt" | expand

Commit Message

Ethon Paul April 11, 2020, 12:40 a.m. UTC
There is a comment in typo, fix it.

Signed-off-by: Ethon Paul <ethp@qq.com>
---
 mm/memory.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/mm/memory.c b/mm/memory.c
index 19874d133a66..584c9f5270df 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -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)) {