mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
x86: define cmdline_cook() loader_name argument as a const
cmdline_cook() loader_name argument is not changed so define it as a const. Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
1 parent
c73844904d
commit
2be76df6c4
1 file changed
+1
-1
@@ -508,7 +508,7 @@ static bool_t __init loader_is_grub2(const char *loader_name)
|
||||
return (p != NULL) && (p[5] != '0');
|
||||
}
|
||||
|
||||
static char * __init cmdline_cook(char *p, char *loader_name)
|
||||
static char * __init cmdline_cook(char *p, const char *loader_name)
|
||||
{
|
||||
p = p ? : "";
|
||||
|
||||
|
||||