Re: [PATCH] x86/xen: add missing \n at end of printk warning message

From: Juergen Gross
Date: Mon Sep 12 2016 - 07:31:14 EST


On 12/09/16 12:20, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The message is missing a \n, add it.
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Reviewed-by: Juergen Gross <jgross@xxxxxxxx>

> ---
> arch/x86/xen/platform-pci-unplug.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/x86/xen/platform-pci-unplug.c b/arch/x86/xen/platform-pci-unplug.c
> index d37a0c7..90d1b83 100644
> --- a/arch/x86/xen/platform-pci-unplug.c
> +++ b/arch/x86/xen/platform-pci-unplug.c
> @@ -61,7 +61,7 @@ static int check_platform_magic(void)
> }
> break;
> default:
> - printk(KERN_WARNING "Xen Platform PCI: unknown I/O protocol version");
> + printk(KERN_WARNING "Xen Platform PCI: unknown I/O protocol version\n");
> return XEN_PLATFORM_ERR_PROTOCOL;
> }
>
>