Skip to content

Commit 2be04df

Browse files
Andi Kleentorvalds
Andi Kleen
authored andcommitted
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>
1 parent 88913bd commit 2be04df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

certs/blacklist_nohashes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// SPDX-License-Identifier: GPL-2.0
22
#include "blacklist.h"
33

4-
const char __initdata *const blacklist_hashes[] = {
4+
const char __initconst *const blacklist_hashes[] = {
55
NULL
66
};

0 commit comments

Comments
 (0)