[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20181124091829.GD10969@avx2>
Date: Sat, 24 Nov 2018 12:18:29 +0300
From: Alexey Dobriyan <adobriyan@...il.com>
To: akpm@...ux-foundation.org
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] make "initcall_level_names[]" const char *
Initcall names should not be changed.
Signed-off-by: Alexey Dobriyan <adobriyan@...il.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",
Powered by blists - more mailing lists