mm/debug: add line breaks
authorLiu Ye <liuye@kylinos.cn>
Wed, 12 Mar 2025 09:37:17 +0000 (17:37 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 18 Mar 2025 05:07:05 +0000 (22:07 -0700)
Missing a newline character at the end of the format string.

Link: https://lkml.kernel.org/r/20250312093717.364031-1-liuye@kylinos.cn
Signed-off-by: Liu Ye <liuye@kylinos.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/debug.c

index 83ef3bd0ccd328ea2c1256bc09c5021425ed01d4..db83e381a8ae35a556a1b37e2e94df9302894f77 100644 (file)
@@ -173,7 +173,7 @@ dump:
 void dump_page(const struct page *page, const char *reason)
 {
        if (PagePoisoned(page))
-               pr_warn("page:%p is uninitialized and poisoned", page);
+               pr_warn("page:%p is uninitialized and poisoned\n", page);
        else
                __dump_page(page);
        if (reason)