linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Init: fixed an error caused by using __initdata instead of __initconst
@ 2020-01-06  2:02 carlosteniswarrior
  2020-01-09 16:26 ` kbuild test robot
  2020-01-09 18:49 ` kbuild test robot
  0 siblings, 2 replies; 3+ messages in thread
From: carlosteniswarrior @ 2020-01-06  2:02 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, Carlos Guerrero Alvarez

From: Carlos Guerrero Alvarez <carlosteniswarrior@gmail.com>

Fixed an error.

Signed-off-by: Carlos Guerrero Alvarez <carlosteniswarrior@gmail.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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-01-09 18:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-06  2:02 [PATCH] Init: fixed an error caused by using __initdata instead of __initconst carlosteniswarrior
2020-01-09 16:26 ` kbuild test robot
2020-01-09 18:49 ` kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).