aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEthon Paul <[email protected]>2020-06-04 16:49:43 -0700
committerLinus Torvalds <[email protected]>2020-06-04 19:06:24 -0700
commit985ba004be29b857f3475eea961af5ac6ea5fa4d (patch)
treecd7b14820ea7fc75f7616d4eeb294b010b9dff6a
parente0857cf5ac107b663f1b43ac8e02fdcd9284ad72 (diff)
mm/memory: fix a typo in comment "attampt"->"attempt"
There is a comment in typo, fix it. Signed-off-by: Ethon Paul <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r--mm/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memory.c b/mm/memory.c
index 60c279295fce..d97e8848892d 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -2467,7 +2467,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)) {