All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix const confusion in certs blacklist
@ 2017-12-22  0:13 Andi Kleen
  0 siblings, 0 replies; only message in thread
From: Andi Kleen @ 2017-12-22  0:13 UTC (permalink / raw)
  To: keyrings

From: Andi Kleen <ak@linux.intel.com>

const must be marked __initconst, not __initdata.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
---
 certs/blacklist_nohashes.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
 };
-- 
2.15.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-12-22  0:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-22  0:13 [PATCH] Fix const confusion in certs blacklist Andi Kleen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.