2024-05-17 21:55:24

by Vasyl Gomonovych

[permalink] [raw]
Subject: [PATCH] RAS: Add missing newlines to pr_info

Fix RAS log statement by adding missing newline character

Signed-off-by: Vasyl Gomonovych <[email protected]>
---
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



2024-05-28 14:18:06

by Borislav Petkov

[permalink] [raw]
Subject: Re: [PATCH] RAS: Add missing newlines to pr_info

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 <[email protected]>
> ---
> 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