summaryrefslogtreecommitdiff
path: root/mm/page_table_check.c
diff options
context:
space:
mode:
authorChih-En Lin <shiyn.lin@gmail.com>2022-09-16 12:04:34 +0300
committerAndrew Morton <akpm@linux-foundation.org>2022-10-04 00:03:27 +0300
commit3ae6d3e30a52a7af222f284d0bf5d424b4f2f365 (patch)
tree573143085fac0a6cc9a9a74fb7172702e4593816 /mm/page_table_check.c
parentcc713520bdc1b84fc5394f6ac8649b93ad2c5dde (diff)
downloadlinux-3ae6d3e30a52a7af222f284d0bf5d424b4f2f365.tar.xz
mm/page_table_check: fix typos
Link: https://lkml.kernel.org/r/20220916090434.701194-1-shiyn.lin@gmail.com Signed-off-by: Chih-En Lin <shiyn.lin@gmail.com> Acked-by: Pasha Tatashin <pasha.tatashin@soleen.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/page_table_check.c')
-rw-r--r--mm/page_table_check.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/page_table_check.c b/mm/page_table_check.c
index 903db62794d3..433dbce13fe1 100644
--- a/mm/page_table_check.c
+++ b/mm/page_table_check.c
@@ -53,7 +53,7 @@ static struct page_table_check *get_page_table_check(struct page_ext *page_ext)
}
/*
- * An enty is removed from the page table, decrement the counters for that page
+ * An entry is removed from the page table, decrement the counters for that page
* verify that it is of correct type and counters do not become negative.
*/
static void page_table_check_clear(struct mm_struct *mm, unsigned long addr,
@@ -87,7 +87,7 @@ static void page_table_check_clear(struct mm_struct *mm, unsigned long addr,
}
/*
- * A new enty is added to the page table, increment the counters for that page
+ * A new entry is added to the page table, increment the counters for that page
* verify that it is of correct type and is not being mapped with a different
* type to a different process.
*/