]> xenbits.xensource.com Git - people/pauldu/xen.git/commitdiff
xen/arm: domain_build: Panic message should end with a newline
authorJulien Grall <julien.grall@arm.com>
Mon, 18 Feb 2019 10:21:06 +0000 (10:21 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Mon, 25 Feb 2019 22:28:07 +0000 (14:28 -0800)
Since commit 25eb5eec79 "xen: Fix inconsistent callers of panic()" all
the panic message should end with a newline. Unfortunately, some
commits pushed afterwards does not follow the rule.

Modify the offending panic messages to avoid more inconsistency.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Release-acked-by: Juergen Gross <jgross@suse.com>
xen/arch/arm/domain_build.c

index c92f8c6be11e65c95b53499b695803d9e8a90edf..d9836779d17c90e84b94ba32e4a20f028189fc5b 100644 (file)
@@ -1580,7 +1580,7 @@ static int __init make_gic_domU_node(const struct domain *d, void *fdt)
     case GIC_V2:
         return make_gicv2_domU_node(d, fdt);
     default:
-        panic("Unsupported GIC version");
+        panic("Unsupported GIC version\n");
     }
 }
 
@@ -2086,12 +2086,12 @@ void __init create_domUs(void)
 
         d = domain_create(++max_init_domid, &d_cfg, false);
         if ( IS_ERR(d) )
-            panic("Error creating domain %s", dt_node_name(node));
+            panic("Error creating domain %s\n", dt_node_name(node));
 
         d->is_console = true;
 
         if ( construct_domU(d, node) != 0 )
-            panic("Could not set up domain %s", dt_node_name(node));
+            panic("Could not set up domain %s\n", dt_node_name(node));
 
         domain_unpause_by_systemcontroller(d);
     }