From: Andi Kleen Date: Wed, 21 Feb 2018 22:45:35 +0000 (-0800) Subject: certs/blacklist_nohashes.c: fix const confusion in certs blacklist X-Git-Tag: v4.16-rc3~24^2~9 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=2be04df5668d;p=users%2Fwilly%2Flinux.git 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 Reviewed-by: Andrew Morton Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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 @@ // SPDX-License-Identifier: GPL-2.0 #include "blacklist.h" -const char __initdata *const blacklist_hashes[] = { +const char __initconst *const blacklist_hashes[] = { NULL };