mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-01 10:43:43 +00:00
init/main.c: make "initcall_level_names[]" const char *
Initcall names should not be changed. Link: http://lkml.kernel.org/r/20181124091829.GD10969@avx2 Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
86c051793b
commit
7c8f71935a
@ -930,7 +930,7 @@ static initcall_entry_t *initcall_levels[] __initdata = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* Keep these in sync with initcalls in include/linux/init.h */
|
/* Keep these in sync with initcalls in include/linux/init.h */
|
||||||
static char *initcall_level_names[] __initdata = {
|
static const char *initcall_level_names[] __initdata = {
|
||||||
"pure",
|
"pure",
|
||||||
"core",
|
"core",
|
||||||
"postcore",
|
"postcore",
|
||||||
|
Loading…
Reference in New Issue
Block a user