[PATCH] mm/hugetlb: Add a line break at the end of the format string

From: 18810879172
Date: Mon Apr 07 2025 - 06:46:01 EST


From: wangxuewen <wangxuewen@xxxxxxxxxx>

Missing line break at the end of the format string.

Signed-off-by: wangxuewen <wangxuewen@xxxxxxxxxx>
---
mm/hugetlb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/hugetlb.c b/mm/hugetlb.c
index 39f92aad7bd1..3e0d361fd299 100644
--- a/mm/hugetlb.c
+++ b/mm/hugetlb.c
@@ -4630,7 +4630,7 @@ static void __init hugetlb_sysfs_init(void)
err = hugetlb_sysfs_add_hstate(h, hugepages_kobj,
hstate_kobjs, &hstate_attr_group);
if (err)
- pr_err("HugeTLB: Unable to add hstate %s", h->name);
+ pr_err("HugeTLB: Unable to add hstate %s\n", h->name);
}

#ifdef CONFIG_NUMA
--
2.34.1