Skip to contentSkip to conversation

certs/blacklist: fix const confusion

PATCH In review Nick Desaulniers 1 participant 2 messages Mar 4, 2018 – Mar 15, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 certs/blacklist: fix const confusion

Fixes commit 2be04df5668d ("certs/blacklist_nohashes.c: fix const confusion in certs blacklist")

---
 certs/blacklist.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
certs/blacklist.h +1 -1
index 150d82da8e99..1efd6fa0dc60 100644
@@ -1,3 +1,3 @@
 #include <linux/kernel.h>
 
-extern const char __initdata *const blacklist_hashes[];
+extern const char __initconst *const blacklist_hashes[];
Signature · 1 line
2.14.1
#1 lore raw

bumping for review

Quoted 20 lines · Nick Desaulniers

Fixes commit 2be04df5668d ("certs/blacklist_nohashes.c: fix const confusion in certs blacklist")

---
 certs/blacklist.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
certs/blacklist.h +1 -2
index 150d82da8e99..1efd6fa0dc60 100644
@@ -1,3 +1,3 @@
 #include <linux/kernel.h>
 
-extern const char __initdata *const blacklist_hashes[];
+extern const char __initconst *const blacklist_hashes[];
--

2.14.1