mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
xen: Append a newline character to panic() where missing
Missing newline is inconsistent with the rest of the callers, since panic() expects it. Signed-off-by: Michal Orzel <michal.orzel@amd.com> Reviewed-by: Luca Fancellu <luca.fancellu@arm.com> Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com> Acked-by: Andrew Cooper <andrew.cooper3@citrix.com> Acked-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
1 parent
6044b485ba
commit
c4e492a139
3 files changed
+5
-5
No files matched your search
@@ -225,7 +225,7 @@ static int __init process_reserved_memory_node(const void *fdt, int node,
|
||||
size_cells, data);
|
||||
|
||||
if ( rc == -ENOSPC )
|
||||
panic("Max number of supported reserved-memory regions reached.");
|
||||
panic("Max number of supported reserved-memory regions reached.\n");
|
||||
else if ( rc != -ENOENT )
|
||||
return rc;
|
||||
return 0;
|
||||
|
||||
@@ -74,7 +74,7 @@ int __init parse_arch_dom0_param(const char *s, const char *e)
|
||||
|
||||
return 0;
|
||||
#else
|
||||
panic("'sve' property found, but CONFIG_ARM64_SVE not selected");
|
||||
panic("'sve' property found, but CONFIG_ARM64_SVE not selected\n");
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -697,7 +697,7 @@ static void __init allocate_static_memory(struct domain *d,
|
||||
return;
|
||||
|
||||
fail:
|
||||
panic("Failed to allocate requested static memory for domain %pd.", d);
|
||||
panic("Failed to allocate requested static memory for domain %pd.\n", d);
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -769,7 +769,7 @@ static void __init assign_static_memory_11(struct domain *d,
|
||||
return;
|
||||
|
||||
fail:
|
||||
panic("Failed to assign requested static memory for direct-map domain %pd.",
|
||||
panic("Failed to assign requested static memory for direct-map domain %pd.\n",
|
||||
d);
|
||||
}
|
||||
|
||||
|
||||
@@ -524,7 +524,7 @@ static int control_thread_fn(const struct microcode_patch *patch)
|
||||
*/
|
||||
if ( wait_for_condition(wait_cpu_callout, (done + 1),
|
||||
MICROCODE_UPDATE_TIMEOUT_US) )
|
||||
panic("Timeout when finished updating microcode (finished %u/%u)",
|
||||
panic("Timeout when finished updating microcode (finished %u/%u)\n",
|
||||
done, nr_cores);
|
||||
|
||||
/* Print warning message once if long time is spent here */
|
||||
|
||||