[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200106020217.13234-1-carlosteniswarrior@gmail.com>
Date: Mon, 6 Jan 2020 02:02:17 +0000
From: carlosteniswarrior@...il.com
To: akpm@...ux-foundation.org
Cc: linux-kernel@...r.kernel.org,
Carlos Guerrero Alvarez <carlosteniswarrior@...il.com>
Subject: [PATCH] Init: fixed an error caused by using __initdata instead of __initconst
From: Carlos Guerrero Alvarez <carlosteniswarrior@...il.com>
Fixed an error.
Signed-off-by: Carlos Guerrero Alvarez <carlosteniswarrior@...il.com>
---
init/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/init/main.c b/init/main.c
index 2cd736059416..bcf8aa4f7cab 100644
--- a/init/main.c
+++ b/init/main.c
@@ -979,7 +979,7 @@ static initcall_entry_t *initcall_levels[] __initdata = {
};
/* Keep these in sync with initcalls in include/linux/init.h */
-static const char *initcall_level_names[] __initdata = {
+static const char *initcall_level_names[] __initconst = {
"pure",
"core",
"postcore",
--
2.24.0
Powered by blists - more mailing lists