linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm: Fix typos in VMA comments
@ 2025-08-14  7:37 Ye Liu
  2025-08-14  7:43 ` Lorenzo Stoakes
  0 siblings, 1 reply; 2+ messages in thread
From: Ye Liu @ 2025-08-14  7:37 UTC (permalink / raw)
  To: Andrew Morton, Liam R. Howlett, Lorenzo Stoakes
  Cc: Ye Liu, Vlastimil Babka, Jann Horn, Pedro Falcato, linux-mm,
	linux-kernel

From: Ye Liu <liuye@kylinos.cn>

Fixed the following typos in VMA-related files:
1. "operationr" -> "operation" in mm/vma.h
2. "initialisaing" -> "initializing" in mm/vma_init.c

Signed-off-by: Ye Liu <liuye@kylinos.cn>
---
 mm/vma.h      | 2 +-
 mm/vma_init.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/mm/vma.h b/mm/vma.h
index b123a9cdedb0..bcdc261c5b15 100644
--- a/mm/vma.h
+++ b/mm/vma.h
@@ -145,7 +145,7 @@ struct vma_merge_struct {
 	 */
 	bool __remove_middle :1;
 	/*
-	 * Internal flag used during the merge operationr to indicate we will
+	 * Internal flag used during the merge operation to indicate we will
 	 * remove vmg->next.
 	 */
 	bool __remove_next :1;
diff --git a/mm/vma_init.c b/mm/vma_init.c
index 8e53c7943561..d847c6557261 100644
--- a/mm/vma_init.c
+++ b/mm/vma_init.c
@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-or-later
 
 /*
- * Functions for initialisaing, allocating, freeing and duplicating VMAs. Shared
+ * Functions for initializing, allocating, freeing and duplicating VMAs. Shared
  * between CONFIG_MMU and non-CONFIG_MMU kernel configurations.
  */
 
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mm: Fix typos in VMA comments
  2025-08-14  7:37 [PATCH] mm: Fix typos in VMA comments Ye Liu
@ 2025-08-14  7:43 ` Lorenzo Stoakes
  0 siblings, 0 replies; 2+ messages in thread
From: Lorenzo Stoakes @ 2025-08-14  7:43 UTC (permalink / raw)
  To: Ye Liu
  Cc: Andrew Morton, Liam R. Howlett, Ye Liu, Vlastimil Babka,
	Jann Horn, Pedro Falcato, linux-mm, linux-kernel

On Thu, Aug 14, 2025 at 03:37:59PM +0800, Ye Liu wrote:
> From: Ye Liu <liuye@kylinos.cn>
>
> Fixed the following typos in VMA-related files:
> 1. "operationr" -> "operation" in mm/vma.h
> 2. "initialisaing" -> "initializing" in mm/vma_init.c
>
> Signed-off-by: Ye Liu <liuye@kylinos.cn>

Seems I am the typo king :)

LGTM, so:

Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>

> ---
>  mm/vma.h      | 2 +-
>  mm/vma_init.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/mm/vma.h b/mm/vma.h
> index b123a9cdedb0..bcdc261c5b15 100644
> --- a/mm/vma.h
> +++ b/mm/vma.h
> @@ -145,7 +145,7 @@ struct vma_merge_struct {
>  	 */
>  	bool __remove_middle :1;
>  	/*
> -	 * Internal flag used during the merge operationr to indicate we will
> +	 * Internal flag used during the merge operation to indicate we will
>  	 * remove vmg->next.
>  	 */
>  	bool __remove_next :1;
> diff --git a/mm/vma_init.c b/mm/vma_init.c
> index 8e53c7943561..d847c6557261 100644
> --- a/mm/vma_init.c
> +++ b/mm/vma_init.c
> @@ -1,7 +1,7 @@
>  // SPDX-License-Identifier: GPL-2.0-or-later
>
>  /*
> - * Functions for initialisaing, allocating, freeing and duplicating VMAs. Shared
> + * Functions for initializing, allocating, freeing and duplicating VMAs. Shared

I typically use the British 'initialising' spelling of the word (when not
typo'ing it :P) but I don't mind using the American English form either as
that's almost a standard in the kernel in practice.

>   * between CONFIG_MMU and non-CONFIG_MMU kernel configurations.
>   */
>
> --
> 2.43.0
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-08-14  7:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-14  7:37 [PATCH] mm: Fix typos in VMA comments Ye Liu
2025-08-14  7:43 ` Lorenzo Stoakes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).