xen/x86: Use const char * for string literals (2)
PATCH 1/1 xen/x86: Use const char * for string literals (2)
This hunk was accidentally missing from a previous change.
Fixes d642c0706678 ("xen/x86: Use const char * for string literals")
Signed-off-by Andrew Cooper <[email protected]>
---
CC: Jan Beulich <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Wei Liu <[email protected]>
This was missed because it was mixed up in cmdline mess in __start_xen().
--- xen/arch/x86/setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
xen/arch/x86/setup.c +1 -1
@@ -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;
Signature · 1 line
2.30.2
Quoted 4 lines · Andrew Cooper
This hunk was accidentally missing from a previous change.
Fixes d642c0706678 ("xen/x86: Use const char * for string literals")Signed-off-by Andrew Cooper <[email protected]>
Acked-by Jan Beulich <[email protected]>