提交 54a33b1b 编写于 作者: A Andi Kleen 提交者: Linus Torvalds

kernel/modsign_pubkey.c: fix init const for module signing code

const has to use __initconst, not __initdata
Signed-off-by: NAndi Kleen <ak@linux.intel.com>
Acked-by: NDavid Howells <dhowells@redhat.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 3ddc5b46
......@@ -18,14 +18,14 @@
struct key *modsign_keyring;
extern __initdata const u8 modsign_certificate_list[];
extern __initdata const u8 modsign_certificate_list_end[];
extern __initconst const u8 modsign_certificate_list[];
extern __initconst const u8 modsign_certificate_list_end[];
/*
* We need to make sure ccache doesn't cache the .o file as it doesn't notice
* if modsign.pub changes.
*/
static __initdata const char annoy_ccache[] = __TIME__ "foo";
static __initconst const char annoy_ccache[] = __TIME__ "foo";
/*
* Load the compiled-in keys
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部