* [PATCH] mm/memory: Fix a typo in comment "attampt"->"attempt"
@ 2020-04-11 0:40 Ethon Paul
0 siblings, 0 replies; only message in thread
From: Ethon Paul @ 2020-04-11 0:40 UTC (permalink / raw)
To: akpm, linux-mm, linux-kernel; +Cc: Ethon Paul
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 --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)) {
--
2.24.1 (Apple Git-126)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-04-11 0:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-11 0:40 [PATCH] mm/memory: Fix a typo in comment "attampt"->"attempt" Ethon Paul
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox