mm: Fix typos in VMA comments
Subsystems (2)
PATCH 1/1 mm: Fix typos in VMA comments
From: Ye Liu <[email protected]>
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 <[email protected]>
--- mm/vma.h | 2 +- mm/vma_init.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
mm/vma.h +1 -1
@@ -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;
mm/vma_init.c +1 -1
@@ -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. */
Signature · 1 line
2.43.0
Quoted 7 lines · Ye Liu
From: Ye Liu <[email protected]>
Fixed the following typos in VMA-related files:
1. "operationr" -> "operation" inmm/vma.h
2. "initialisaing" -> "initializing" inmm/vma_init.cSigned-off-by Ye Liu <[email protected]>
Seems I am the typo king :)
LGTM, so:
Reviewed-by Lorenzo Stoakes <[email protected]>
Quoted 23 lines
--- mm/vma.h | 2 +- mm/vma_init.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)mm/vma.h +1
-1@@ -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;mm/vma_init.c +0
-0
mm/vma_init.c line 4
Quoted 5 lines
mm/vma_init.c +1
-1@@ -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.
Quoted 6 lines
mm/vma_init.c +0
-1* between CONFIG_MMU and non-CONFIG_MMU kernel configurations. */ --2.43.0