* [PATCH] make "initcall_level_names[]" const char *
@ 2018-11-24 9:18 Alexey Dobriyan
0 siblings, 0 replies; only message in thread
From: Alexey Dobriyan @ 2018-11-24 9:18 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel
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(-)
--- 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",
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-11-24 9:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-24 9:18 [PATCH] make "initcall_level_names[]" const char * Alexey Dobriyan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox