diff options
author | Andi Kleen <ak@linux.intel.com> | 2018-02-21 17:45:35 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-02-21 18:35:43 -0500 |
commit | 2be04df5668d81f9a98e57b81bc53f72bd5f4f92 (patch) | |
tree | 560716c8f5fc9193e860d7e9f99d58a15947436c | |
parent | 88913bd8ea2a75d7e460a4bed5f75e1c32660d7e (diff) |
certs/blacklist_nohashes.c: fix const confusion in certs blacklist
const must be marked __initconst, not __initdata.
Link: http://lkml.kernel.org/r/20171222001335.1987-1-andi@firstfloor.org
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | certs/blacklist_nohashes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/certs/blacklist_nohashes.c b/certs/blacklist_nohashes.c index 73fd99098ad7..753b703ef0ef 100644 --- a/certs/blacklist_nohashes.c +++ b/certs/blacklist_nohashes.c | |||
@@ -1,6 +1,6 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0 | 1 | // SPDX-License-Identifier: GPL-2.0 |
2 | #include "blacklist.h" | 2 | #include "blacklist.h" |
3 | 3 | ||
4 | const char __initdata *const blacklist_hashes[] = { | 4 | const char __initconst *const blacklist_hashes[] = { |
5 | NULL | 5 | NULL |
6 | }; | 6 | }; |