Skip to content

Commit 2be04df

Browse files
Andi Kleentorvalds
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/[email protected] Signed-off-by: Andi Kleen <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
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)