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>
This commit is contained in:
Chih-En Lin 2022-09-16 17:04:34 +08:00 committed by Andrew Morton
parent cc713520bd
commit 3ae6d3e30a
1 changed files with 2 additions and 2 deletions

View File

@ -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.
*/