]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
RAS/AMD/ATL: Add missing newline to pr_info() statement
authorVasyl Gomonovych <gomonovych@gmail.com>
Fri, 17 May 2024 21:54:37 +0000 (14:54 -0700)
committerBorislav Petkov (AMD) <bp@alien8.de>
Tue, 28 May 2024 14:11:36 +0000 (16:11 +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/20240517215452.2020680-1-gomonovych@gmail.com
drivers/ras/amd/atl/core.c

index 6dc4e06305f75253488541152493801a951b334b..f9f760d780c4e91d4f0a30e9edc69439175719ad 100644 (file)
@@ -206,7 +206,7 @@ static int __init amd_atl_init(void)
        __module_get(THIS_MODULE);
        amd_atl_register_decoder(convert_umc_mca_addr_to_sys_addr);
 
-       pr_info("AMD Address Translation Library initialized");
+       pr_info("AMD Address Translation Library initialized\n");
        return 0;
 }