linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm: Fix typos in comments in mm_init.c
@ 2025-04-20 14:04 Prabhav Kumar Vaish
  2025-04-21 16:42 ` Mike Rapoport
  0 siblings, 1 reply; 2+ messages in thread
From: Prabhav Kumar Vaish @ 2025-04-20 14:04 UTC (permalink / raw)
  To: rppt, akpm; +Cc: Prabhav Kumar Vaish, linux-mm, linux-kernel

Corrected minor typos in comments:
	- 'contigious' -> 'contiguous'
	- 'hierarcy' -> 'hierarchy'

This is a non-functional change in comment text only.

Signed-off-by: Prabhav Kumar Vaish <pvkumar5749404@gmail.com>
---
 mm/mm_init.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mm/mm_init.c b/mm/mm_init.c
index 9659689b8ace..7f3361fd5392 100644
--- a/mm/mm_init.c
+++ b/mm/mm_init.c
@@ -828,7 +828,7 @@ overlap_memmap_init(unsigned long zone, unsigned long *pfn)
  * - physical memory bank size is not necessarily the exact multiple of the
  *   arbitrary section size
  * - early reserved memory may not be listed in memblock.memory
- * - non-memory regions covered by the contigious flatmem mapping
+ * - non-memory regions covered by the contiguous flatmem mapping
  * - memory layouts defined with memmap= kernel parameter may not align
  *   nicely with memmap sections
  *
@@ -1908,7 +1908,7 @@ void __init free_area_init(unsigned long *max_zone_pfn)
 		free_area_init_node(nid);
 
 		/*
-		 * No sysfs hierarcy will be created via register_one_node()
+		 * No sysfs hierarchy will be created via register_one_node()
 		 *for memory-less node because here it's not marked as N_MEMORY
 		 *and won't be set online later. The benefit is userspace
 		 *program won't be confused by sysfs files/directories of
-- 
2.34.1



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

* Re: [PATCH] mm: Fix typos in comments in mm_init.c
  2025-04-20 14:04 [PATCH] mm: Fix typos in comments in mm_init.c Prabhav Kumar Vaish
@ 2025-04-21 16:42 ` Mike Rapoport
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Rapoport @ 2025-04-21 16:42 UTC (permalink / raw)
  To: Prabhav Kumar Vaish; +Cc: akpm, linux-mm, linux-kernel

On Sun, Apr 20, 2025 at 07:34:40PM +0530, Prabhav Kumar Vaish wrote:
> Corrected minor typos in comments:
> 	- 'contigious' -> 'contiguous'
> 	- 'hierarcy' -> 'hierarchy'
> 
> This is a non-functional change in comment text only.
> 
> Signed-off-by: Prabhav Kumar Vaish <pvkumar5749404@gmail.com>

Reviewed-by: Mike Rapoport (Microsoft) <rppt@kernel.org>

> ---
>  mm/mm_init.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/mm/mm_init.c b/mm/mm_init.c
> index 9659689b8ace..7f3361fd5392 100644
> --- a/mm/mm_init.c
> +++ b/mm/mm_init.c
> @@ -828,7 +828,7 @@ overlap_memmap_init(unsigned long zone, unsigned long *pfn)
>   * - physical memory bank size is not necessarily the exact multiple of the
>   *   arbitrary section size
>   * - early reserved memory may not be listed in memblock.memory
> - * - non-memory regions covered by the contigious flatmem mapping
> + * - non-memory regions covered by the contiguous flatmem mapping
>   * - memory layouts defined with memmap= kernel parameter may not align
>   *   nicely with memmap sections
>   *
> @@ -1908,7 +1908,7 @@ void __init free_area_init(unsigned long *max_zone_pfn)
>  		free_area_init_node(nid);
>  
>  		/*
> -		 * No sysfs hierarcy will be created via register_one_node()
> +		 * No sysfs hierarchy will be created via register_one_node()
>  		 *for memory-less node because here it's not marked as N_MEMORY
>  		 *and won't be set online later. The benefit is userspace
>  		 *program won't be confused by sysfs files/directories of
> -- 
> 2.34.1
> 

-- 
Sincerely yours,
Mike.


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

end of thread, other threads:[~2025-04-21 16:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-20 14:04 [PATCH] mm: Fix typos in comments in mm_init.c Prabhav Kumar Vaish
2025-04-21 16:42 ` Mike Rapoport

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox