linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm/hugetlb: Add a line break at the end of the format string
@ 2025-04-07 10:30 18810879172
  0 siblings, 0 replies; only message in thread
From: 18810879172 @ 2025-04-07 10:30 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, linux-mm, wangxuewen

From: wangxuewen <wangxuewen@kylinos.cn>

Missing line break at the end of the format string.

Signed-off-by: wangxuewen <wangxuewen@kylinos.cn>
---
 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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-04-07 10:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-07 10:30 [PATCH] mm/hugetlb: Add a line break at the end of the format string 18810879172

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