[PATCH] mm/debug: Add line breaks

Liu Ye posted 1 patch 9 months, 1 week ago
mm/debug.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] mm/debug: Add line breaks
Posted by Liu Ye 9 months, 1 week ago
Missing a newline character at the end of the format string.

Signed-off-by: Liu Ye <liuye@kylinos.cn>
---
 mm/debug.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/debug.c b/mm/debug.c
index 8d2acf432385..db1894c5e8b9 100644
--- a/mm/debug.c
+++ b/mm/debug.c
@@ -165,7 +165,7 @@ static void __dump_page(const struct page *page)
 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)
-- 
2.25.1