Skip to contentSkip to conversation

kernel-modsign_pubkeyc-fix-init-const-for-module-signing-code.patch removed from -mm tree

merged [email protected] 1 participant 1 message Sep 12, 2013

lore
Share & tools
lore
#0 lore raw

Subject: [merged] kernel-modsign_pubkeyc-fix-init-const-for-module-signing-code.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Thu, 12 Sep 2013 12:46:07 -0700

The patch titled
Subject: kernel/modsign_pubkey.c: fix init const for module signing code
has been removed from the -mm tree. Its filename was
kernel-modsign_pubkeyc-fix-init-const-for-module-signing-code.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Andi Kleen <[email protected]>
Subject: kernel/modsign_pubkey.c: fix init const for module signing code

const has to use __initconst, not __initdata

---

 kernel/modsign_pubkey.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
kernel/modsign_pubkey.c renamed from kernel/modsign_pubkey.c~kernel-modsign_pubkeyc-fix-init-const-for-module-signing-code +3 -3
diff -puN kernel/modsign_pubkey.c~kernel-modsign_pubkeyc-fix-init-const-for-module-signing-code 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

_

Patches currently in -mm which might be from [email protected] are

origin.patch x86-add-1-2-4-8-byte-optimization-to-64bit-__copy_fromto_user_inatomic.patch thp-account-anon-transparent-huge-pages-into-nr_anon_pages.patch mm-cleanup-add_to_page_cache_locked.patch thp-move-maybe_pmd_mkwrite-out-of-mk_huge_pmd.patch thp-do_huge_pmd_anonymous_page-cleanup.patch thp-consolidate-code-between-handle_mm_fault-and-do_huge_pmd_anonymous_page.patch