]> xenbits.xensource.com Git - xen.git/commitdiff
xen/x86: Use const char * for string literals (2)
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 19 Jul 2023 10:57:46 +0000 (11:57 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 26 Jul 2023 12:58:27 +0000 (13:58 +0100)
This hunk was accidentally missing from a previous change.

Fixes: d642c0706678 ("xen/x86: Use const char * for string literals")
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/setup.c

index 74e3915a4dce3029259a202157a963d16184125d..2dbe9857aa60d9eb78de1f2a700323c596648cb1 100644 (file)
@@ -968,7 +968,7 @@ static struct domain *__init create_dom0(const module_t *image,
 
 void __init noreturn __start_xen(unsigned long mbi_p)
 {
-    char *memmap_type = NULL;
+    const char *memmap_type = NULL;
     char *cmdline, *kextra, *loader;
     void *bsp_stack;
     struct cpu_info *info = get_cpu_info(), *bsp_info;