Re: [PATCH] ACPI, APEI, EINJ: fix malformed newline escape
From: Borislav Petkov
Date: Tue Jan 17 2017 - 10:44:46 EST
On Tue, Jan 17, 2017 at 02:57:20PM +0000, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The pr_warn message has a malformed newline escape, add in the
> missing \
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> ---
> drivers/acpi/apei/einj.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/acpi/apei/einj.c b/drivers/acpi/apei/einj.c
> index eebb7e3..ec50c32 100644
> --- a/drivers/acpi/apei/einj.c
> +++ b/drivers/acpi/apei/einj.c
> @@ -711,7 +711,7 @@ static int __init einj_init(void)
>
> rc = einj_check_table(einj_tab);
> if (rc) {
> - pr_warn(FW_BUG "Invalid EINJ table.n");
> + pr_warn(FW_BUG "Invalid EINJ table.\n");
> return -EINVAL;
> }
>
> --
Reviewed-by: Borislav Petkov <bp@xxxxxxx>
--
Regards/Gruss,
Boris.
SUSE Linux GmbH, GF: Felix ImendÃrffer, Jane Smithard, Graham Norton, HRB 21284 (AG NÃrnberg)
--