Skip to contentSkip to conversation

Fix const confusion in certs blacklist

PATCH New Andi Kleen 1 participant 1 message Dec 22, 2017

Subsystems (2)
lore
Share & tools
lore

Andi Kleen

author
#0 lore raw

PATCH 1/1 Fix const confusion in certs blacklist

From: Andi Kleen <[email protected]>

const must be marked __initconst, not __initdata.

---
 certs/blacklist_nohashes.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
certs/blacklist_nohashes.c +1 -1
index 73fd99098ad7..753b703ef0ef 100644
@@ -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
 };
Signature · 1 line
2.15.0