Commit e6f53274 authored by Vasyl Gomonovych's avatar Vasyl Gomonovych Committed by Borislav Petkov (AMD)

EDAC/ghes: Add missing newline to pr_info() statement

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: default avatarVasyl Gomonovych <gomonovych@gmail.com>
Signed-off-by: default avatarBorislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20240517204951.2019031-1-gomonovych@gmail.com
parent 595e819d
...@@ -547,7 +547,7 @@ static int __init ghes_edac_init(void) ...@@ -547,7 +547,7 @@ static int __init ghes_edac_init(void)
return -ENODEV; return -ENODEV;
if (list_empty(ghes_devs)) { if (list_empty(ghes_devs)) {
pr_info("GHES probing device list is empty"); pr_info("GHES probing device list is empty\n");
return -ENODEV; return -ENODEV;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment