]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
mm: fix typos in comments in mm_init.c
authorPrabhav Kumar Vaish <pvkumar5749404@gmail.com>
Sun, 20 Apr 2025 14:04:40 +0000 (19:34 +0530)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 13 May 2025 06:50:31 +0000 (23:50 -0700)
Corrected minor typos in comments:
- 'contigious' -> 'contiguous'
- 'hierarcy' -> 'hierarchy'

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

Link: https://lkml.kernel.org/r/20250420140440.18817-1-pvkumar5749404@gmail.com
Signed-off-by: Prabhav Kumar Vaish <pvkumar5749404@gmail.com>
Reviewed-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/mm_init.c

index eedce9321e13dc8df059a7b15f4459c3e618c7e2..c275ae561b6fc7755b14f60983a1d364db33b7cc 100644 (file)
@@ -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
  *
@@ -1907,7 +1907,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