diff mbox series

[Xen-devel] xen/arm: kernel: Remove Dom prefix when using %pd format

Message ID 20190319232343.24371-1-julien.grall@arm.com
State New
Headers show
Series [Xen-devel] xen/arm: kernel: Remove Dom prefix when using %pd format | expand

Commit Message

Julien Grall March 19, 2019, 11:23 p.m. UTC
The format %pd will already prefix the domain ID with 'd'. So avoid to
prefix with 'Dom'.

Signed-off-by: Julien Grall <julien.grall@arm.com>
---
 xen/arch/arm/kernel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Andrew Cooper March 20, 2019, 11:08 a.m. UTC | #1
On 19/03/2019 23:23, Julien Grall wrote:
> The format %pd will already prefix the domain ID with 'd'. So avoid to
> prefix with 'Dom'.
>
> Signed-off-by: Julien Grall <julien.grall@arm.com>

Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Stefano Stabellini April 16, 2019, 9:09 p.m. UTC | #2
On Tue, 19 Mar 2019, Julien Grall wrote:
> The format %pd will already prefix the domain ID with 'd'. So avoid to
> prefix with 'Dom'.
> 
> Signed-off-by: Julien Grall <julien.grall@arm.com>

Acked-by: Stefano Stabellini <sstabellini@kernel.org>

> ---
>  xen/arch/arm/kernel.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/xen/arch/arm/kernel.c b/xen/arch/arm/kernel.c
> index d04a862f99..e3ffdb2fa1 100644
> --- a/xen/arch/arm/kernel.c
> +++ b/xen/arch/arm/kernel.c
> @@ -484,7 +484,7 @@ int __init kernel_probe(struct kernel_info *info,
>          return -ENOENT;
>      }
>  
> -    printk("Loading Dom%pd kernel from boot module @ %"PRIpaddr"\n",
> +    printk("Loading %pd kernel from boot module @ %"PRIpaddr"\n",
>             info->d, info->kernel_bootmodule->start);
>      if ( info->initrd_bootmodule )
>          printk("Loading ramdisk from boot module @ %"PRIpaddr"\n",
> -- 
> 2.11.0
>
Julien Grall April 17, 2019, 4:23 p.m. UTC | #3
Hi,

On 16/04/2019 22:09, Stefano Stabellini wrote:
> On Tue, 19 Mar 2019, Julien Grall wrote:
>> The format %pd will already prefix the domain ID with 'd'. So avoid to
>> prefix with 'Dom'.
>>
>> Signed-off-by: Julien Grall <julien.grall@arm.com>
> 
> Acked-by: Stefano Stabellini <sstabellini@kernel.org>

Thank you! I have pushed to my branch next-4.13 for now. It will be merged once 
the commit moratorium is lifted.

Cheers,
diff mbox series

Patch

diff --git a/xen/arch/arm/kernel.c b/xen/arch/arm/kernel.c
index d04a862f99..e3ffdb2fa1 100644
--- a/xen/arch/arm/kernel.c
+++ b/xen/arch/arm/kernel.c
@@ -484,7 +484,7 @@  int __init kernel_probe(struct kernel_info *info,
         return -ENOENT;
     }
 
-    printk("Loading Dom%pd kernel from boot module @ %"PRIpaddr"\n",
+    printk("Loading %pd kernel from boot module @ %"PRIpaddr"\n",
            info->d, info->kernel_bootmodule->start);
     if ( info->initrd_bootmodule )
         printk("Loading ramdisk from boot module @ %"PRIpaddr"\n",