summaryrefslogtreecommitdiff
path: root/mm/memory.c
diff options
context:
space:
mode:
authorEthon Paul <ethp@qq.com>2020-06-04 16:49:43 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2020-06-04 19:06:24 -0700
commit985ba004be29b857f3475eea961af5ac6ea5fa4d (patch)
treecd7b14820ea7fc75f7616d4eeb294b010b9dff6a /mm/memory.c
parente0857cf5ac107b663f1b43ac8e02fdcd9284ad72 (diff)
downloadlwn-985ba004be29b857f3475eea961af5ac6ea5fa4d.tar.gz
lwn-985ba004be29b857f3475eea961af5ac6ea5fa4d.zip
mm/memory: fix a typo in comment "attampt"->"attempt"
There is a comment in typo, fix it. Signed-off-by: Ethon Paul <ethp@qq.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Link: http://lkml.kernel.org/r/20200411004043.14686-1-ethp@qq.com Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memory.c')
-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)) {