2022-09-16 09:20:48

by Chih-En Lin

[permalink] [raw]
Subject: [PATCH] mm/page_table_check: Fix typos

Signed-off-by: Chih-En Lin <[email protected]>
---
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


2022-09-19 20:49:30

by Pasha Tatashin

[permalink] [raw]
Subject: Re: [PATCH] mm/page_table_check: Fix typos

On Fri, Sep 16, 2022 at 5:02 AM Chih-En Lin <[email protected]> wrote:
>
> Signed-off-by: Chih-En Lin <[email protected]>

Acked-by: Pasha Tatashin <[email protected]>

Thank you,
Pasha

> ---
> 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
>