]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
EDAC/ghes: Add missing newline to pr_info() statement
authorVasyl Gomonovych <gomonovych@gmail.com>
Fri, 17 May 2024 20:48:46 +0000 (13:48 -0700)
committerBorislav Petkov (AMD) <bp@alien8.de>
Tue, 28 May 2024 14:13:09 +0000 (16:13 +0200)
Add a missing newline character even if printk() adds newlines to
non-\n-terminated strings because in the unlikely case a KERN_CONT print
statement is added after the unterminated statement, the two will get
glued together which is not the expected behavior.

[ bp: Rewrite commit message. ]

Signed-off-by: Vasyl Gomonovych <gomonovych@gmail.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20240517204951.2019031-1-gomonovych@gmail.com
drivers/edac/ghes_edac.c

index cf2b618c1ada9528907de7f4dce272566053aad9..1eb0136c6fbde9207906c6174de47684a1c632bb 100644 (file)
@@ -547,7 +547,7 @@ static int __init ghes_edac_init(void)
                return -ENODEV;
 
        if (list_empty(ghes_devs)) {
-               pr_info("GHES probing device list is empty");
+               pr_info("GHES probing device list is empty\n");
                return -ENODEV;
        }