From: Vasyl Gomonovych Date: Fri, 17 May 2024 21:54:37 +0000 (-0700) Subject: RAS/AMD/ATL: Add missing newline to pr_info() statement X-Git-Tag: v6.11-rc1~204^2^2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=595e819d9bbdfa1c000dc7ea50430ebb5f9db09a;p=thirdparty%2Flinux.git RAS/AMD/ATL: 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 Signed-off-by: Borislav Petkov (AMD) Link: https://lore.kernel.org/r/20240517215452.2020680-1-gomonovych@gmail.com --- diff --git a/drivers/ras/amd/atl/core.c b/drivers/ras/amd/atl/core.c index 6dc4e06305f75..f9f760d780c4e 100644 --- a/drivers/ras/amd/atl/core.c +++ b/drivers/ras/amd/atl/core.c @@ -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; }