projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88913bd
)
certs/blacklist_nohashes.c: fix const confusion in certs blacklist
author
Andi Kleen
<
[email protected]
>
Wed, 21 Feb 2018 22:45:35 +0000
(14:45 -0800)
committer
Linus Torvalds
<
[email protected]
>
Wed, 21 Feb 2018 23:35:43 +0000
(15:35 -0800)
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]
>
certs/blacklist_nohashes.c
patch
|
blob
|
history
diff --git
a/certs/blacklist_nohashes.c
b/certs/blacklist_nohashes.c
index 73fd99098ad7ce5f4eb12eef6111500f4a89063e..753b703ef0ef8d711e04150467e5fb3643bce799 100644
(file)
--- 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 __init
data
*const blacklist_hashes[] = {
+const char __init
const
*const blacklist_hashes[] = {
NULL
};