lkml.org 
[lkml]   [2013]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] initconst fixes for module signing
Date
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


\
 
 \ /
  Last update: 2013-04-22 12:01    [W:0.072 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site