diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2019-01-04 02:27:29 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-01-05 00:13:46 +0300 |
commit | 7c8f71935a65a584c48cbe478aaffc52292d6e00 (patch) | |
tree | ab6e0c67a3c81380e75fbf926aa554e81b198bec /init/main.c | |
parent | 86c051793b4c941ee4481725d57cf2a27f6b3aaf (diff) | |
download | linux-7c8f71935a65a584c48cbe478aaffc52292d6e00.tar.xz |
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>
Diffstat (limited to 'init/main.c')
-rw-r--r-- | init/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/main.c b/init/main.c index 86d894852bef..6a74ba0892d2 100644 --- a/init/main.c +++ b/init/main.c @@ -930,7 +930,7 @@ static initcall_entry_t *initcall_levels[] __initdata = { }; /* 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", "core", "postcore", |