[PATCH] RAS: Add missing newlines to pr_info

Vasyl Gomonovych posted 1 patch 1 year, 8 months ago
drivers/ras/amd/atl/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] RAS: Add missing newlines to pr_info
Posted by Vasyl Gomonovych 1 year, 8 months ago
Fix RAS log statement by adding missing newline character

Signed-off-by: Vasyl Gomonovych <gomonovych@gmail.com>
---
 drivers/ras/amd/atl/core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ras/amd/atl/core.c b/drivers/ras/amd/atl/core.c
index 6dc4e06305f7..f9f760d780c4 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;
 }
 
-- 
2.43.0
Re: [PATCH] RAS: Add missing newlines to pr_info
Posted by Borislav Petkov 1 year, 8 months ago
On Fri, May 17, 2024 at 02:54:37PM -0700, Vasyl Gomonovych wrote:
> Fix RAS log statement by adding missing newline character
> 
> Signed-off-by: Vasyl Gomonovych <gomonovych@gmail.com>
> ---
>  drivers/ras/amd/atl/core.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/ras/amd/atl/core.c b/drivers/ras/amd/atl/core.c
> index 6dc4e06305f7..f9f760d780c4 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;
>  }
>  
> -- 

Both applied, thanks.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette