| From: wangxuewen <wangxuewen@kylinos.cn> |
| Subject: mm/hugetlb: add a line break at the end of the format string |
| Date: Mon, 7 Apr 2025 18:30:17 +0800 |
| |
| Missing line break at the end of the format string. |
| |
| Link: https://lkml.kernel.org/r/20250407103017.2979821-1-18810879172@163.com |
| Signed-off-by: wangxuewen <wangxuewen@kylinos.cn> |
| Cc: Muchun Song <muchun.song@linux.dev> |
| Signed-off-by: Andrew Morton <akpm@linux-foundation.org> |
| --- |
| |
| mm/hugetlb.c | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| --- a/mm/hugetlb.c~mm-hugetlb-add-a-line-break-at-the-end-of-the-format-string |
| +++ a/mm/hugetlb.c |
| @@ -4647,7 +4647,7 @@ static void __init hugetlb_sysfs_init(vo |
| 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 |
| _ |