Skip to contentSkip to conversation

xen/arm: kernel: Remove Dom prefix when using %pd format

PATCH In review Julien Grall 3 participants 4 messages Mar 19, 2019 – Apr 17, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xen/arm: kernel: Remove Dom prefix when using %pd format

The format %pd will already prefix the domain ID with 'd'. So avoid to prefix with 'Dom'.

---
 xen/arch/arm/kernel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xen/arch/arm/kernel.c +1 -1
index d04a862f99..e3ffdb2fa1 100644
@@ -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",
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Acked-by on v1 1/1
#2 lore raw
In reply to Julien Grall
Quoted 4 lines · Julien Grall

The format %pd will already prefix the domain ID with 'd'. So avoid to prefix with 'Dom'.

Quoted 20 lines
---
 xen/arch/arm/kernel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xen/arch/arm/kernel.c +1 -1
index d04a862f99..e3ffdb2fa1 100644
@@ -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",
Signature · 1 line
2.11.0

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#3 lore raw

Hi,

Quoted 7 lines · Stefano Stabellini
Quoted 4 lines · Julien Grall

The format %pd will already prefix the domain ID with 'd'. So avoid to prefix with 'Dom'.

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

Cheers,

Signature · 6 lines
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel