* [PATCH] initconst fixes for module signing
@ 2013-04-21 3:42 Andi Kleen
2013-04-22 5:05 ` Rusty Russell
0 siblings, 1 reply; 2+ messages in thread
From: Andi Kleen @ 2013-04-21 3:42 UTC (permalink / raw)
To: rusty; +Cc: linux-kernel, dhowells, Andi Kleen
From: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
diff --git a/kernel/modsign_pubkey.c b/kernel/modsign_pubkey.c
index 2b6e699..7cbd450 100644
--- a/kernel/modsign_pubkey.c
+++ b/kernel/modsign_pubkey.c
@@ -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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] initconst fixes for module signing
2013-04-21 3:42 [PATCH] initconst fixes for module signing Andi Kleen
@ 2013-04-22 5:05 ` Rusty Russell
0 siblings, 0 replies; 2+ messages in thread
From: Rusty Russell @ 2013-04-22 5:05 UTC (permalink / raw)
To: Andi Kleen; +Cc: linux-kernel, dhowells, Andi Kleen
Andi Kleen <andi@firstfloor.org> writes:
> From: Andi Kleen <ak@linux.intel.com>
>
> Signed-off-by: Andi Kleen <ak@linux.intel.com>
Thanks, applied.
Cheers,
Rusty.
> diff --git a/kernel/modsign_pubkey.c b/kernel/modsign_pubkey.c
> index 2b6e699..7cbd450 100644
> --- a/kernel/modsign_pubkey.c
> +++ b/kernel/modsign_pubkey.c
> @@ -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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-04-22 9:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-21 3:42 [PATCH] initconst fixes for module signing Andi Kleen
2013-04-22 5:05 ` Rusty Russell
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.