summaryrefslogtreecommitdiff
path: root/drivers/edac
diff options
context:
space:
mode:
authorVasyl Gomonovych <gomonovych@gmail.com>2024-05-17 23:48:46 +0300
committerBorislav Petkov (AMD) <bp@alien8.de>2024-05-28 17:13:09 +0300
commite6f53274c06dc841d677ccaf35587b8dd3fb7a47 (patch)
treec95ddbf472f277394270ac62caf11e09cf620d16 /drivers/edac
parent595e819d9bbdfa1c000dc7ea50430ebb5f9db09a (diff)
downloadlinux-e6f53274c06dc841d677ccaf35587b8dd3fb7a47.tar.xz
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: 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
Diffstat (limited to 'drivers/edac')
-rw-r--r--drivers/edac/ghes_edac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/ghes_edac.c b/drivers/edac/ghes_edac.c
index cf2b618c1ada..1eb0136c6fbd 100644
--- a/drivers/edac/ghes_edac.c
+++ b/drivers/edac/ghes_edac.c
@@ -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;
}