Skip to content

Commit

Permalink
certs/blacklist_nohashes.c: fix const confusion in certs blacklist
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Andi Kleen authored and torvalds committed Feb 21, 2018
1 parent 88913bd commit 2be04df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion certs/blacklist_nohashes.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
#include "blacklist.h"

const char __initdata *const blacklist_hashes[] = {
const char __initconst *const blacklist_hashes[] = {
NULL
};

0 comments on commit 2be04df

Please sign in to comment.