Thread (3 messages) 3 messages, 3 authors, 29d ago

[PATCH] mm/hugetlb: fix misspelled parameter names in comment

flat view
COLD29d IN MM

From: Zhenghui Hao <hidden>
Date: 2026-09-15 08:21:09
Also in: lkml
Subsystem: hugetlb subsystem, memory management, the rest · Maintainers: Muchun Song, Oscar Salvador, Andrew Morton, Linus Torvalds

Queued in mm as 1a4a3f756cd7 on 2026-10-13.

The comment above hugepages_setup() refers to "hugepagsz" and
"default_hugepagsz", but the parameters parsed by this code are
"hugepagesz" and "default_hugepagesz".  Fix the spelling and also drop
the redundant spaces so the comment reads normally.

No functional change.

Signed-off-by: Zhenghui Hao <redacted>
---
 mm/hugetlb.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/mm/hugetlb.c b/mm/hugetlb.c
index 4f6f58bf3db6..68b97893a376 100644
--- a/mm/hugetlb.c
+++ b/mm/hugetlb.c
@@ -4268,9 +4268,9 @@ static __init void hugetlb_parse_params(void)
 
 /*
  * hugepages command line processing
- * hugepages normally follows a valid hugepagsz or default_hugepagsz
- * specification.  If not, ignore the hugepages value.  hugepages can also
- * be the first huge page command line  option in which case it implicitly
+ * hugepages normally follows a valid hugepagesz or default_hugepagesz
+ * specification. If not, ignore the hugepages value. hugepages can also
+ * be the first huge page command line option in which case it implicitly
  * specifies the number of huge pages for the default size.
  */
 static int __init hugepages_setup(char *s)
-- 
2.53.0

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help