From: carlosteniswarrior@gmail.com
To: akpm@linux-foundation.org
Cc: linux-kernel@vger.kernel.org,
Carlos Guerrero Alvarez <carlosteniswarrior@gmail.com>
Subject: [PATCH] Init: fixed an error caused by using __initdata instead of __initconst
Date: Mon, 6 Jan 2020 02:02:17 +0000 [thread overview]
Message-ID: <20200106020217.13234-1-carlosteniswarrior@gmail.com> (raw)
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
next reply other threads:[~2020-01-07 18:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-06 2:02 carlosteniswarrior [this message]
2020-01-09 16:26 ` [PATCH] Init: fixed an error caused by using __initdata instead of __initconst kbuild test robot
2020-01-09 18:49 ` kbuild test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200106020217.13234-1-carlosteniswarrior@gmail.com \
--to=carlosteniswarrior@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).