make "initcall_level_names[]" const char *
diff mbox series

Message ID 20181124091829.GD10969@avx2
State In Next
Commit 7c8f71935a65a584c48cbe478aaffc52292d6e00
Headers show
Series
  • make "initcall_level_names[]" const char *
Related show

Commit Message

Alexey Dobriyan Nov. 24, 2018, 9:18 a.m. UTC
Initcall names should not be changed.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

 init/main.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

--- a/init/main.c
+++ b/init/main.c
@@ -934,7 +934,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",