Skip to contentSkip to conversation

initconst fixes for module signing

PATCH Applied Andi Kleen 2 participants 2 messages Apr 21, 2013 – Apr 22, 2013

lore
Share & tools
lore

Andi Kleen

author
#0 lore raw

PATCH 1/1 initconst fixes for module signing

From: Andi Kleen <[email protected]>

kernel/modsign_pubkey.c +3 -3
index 2b6e699..7cbd450 100644
@@ -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
#1 lore raw
Quoted 3 lines · Andi Kleen

From: Andi Kleen <[email protected]>

Thanks, applied.

Cheers,
Rusty.

Quoted 22 lines
kernel/modsign_pubkey.c +3 -3
index 2b6e699..7cbd450 100644
@@ -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