diff mbox series

mm/page_table_check: Fix typos

Message ID 20220916090434.701194-1-shiyn.lin@gmail.com (mailing list archive)
State New
Headers show
Series mm/page_table_check: Fix typos | expand

Commit Message

Chih-En Lin Sept. 16, 2022, 9:04 a.m. UTC
Signed-off-by: Chih-En Lin <shiyn.lin@gmail.com>
---
 mm/page_table_check.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Pasha Tatashin Sept. 19, 2022, 8 p.m. UTC | #1
On Fri, Sep 16, 2022 at 5:02 AM Chih-En Lin <shiyn.lin@gmail.com> wrote:
>
> Signed-off-by: Chih-En Lin <shiyn.lin@gmail.com>

Acked-by: Pasha Tatashin <pasha.tatashin@soleen.com>

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
>
diff mbox series

Patch

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