[PATCH] mm/page_table_check: Fix typos

From: Chih-En Lin
Date: Fri Sep 16 2022 - 05:02:47 EST


Signed-off-by: Chih-En Lin <shiyn.lin@xxxxxxxxx>
---
mm/page_table_check.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mm/page_table_check.c b/mm/page_table_check.c
index e2062748791a..ecec2c7c8f44 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,
@@ -86,7 +86,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.
*/
--
2.37.1