Skip to contentSkip to conversation

+ kernel-modsign_pubkeyc-fix-init-const-for-module-signing-code.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Aug 6, 2013

lore
Share & tools
lore
#0 lore raw

Subject: + kernel-modsign_pubkeyc-fix-init-const-for-module-signing-code.patch added to -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 06 Aug 2013 13:39:02 -0700

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

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/kernel-modsign_pubkeyc-fix-init-const-for-module-signing-code.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/kernel-modsign_pubkeyc-fix-init-const-for-module-signing-code.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
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

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 syscallsh-use-gcc-alias-instead-of-assembler-aliases-for-syscalls.patch kernel-modsign_pubkeyc-fix-init-const-for-module-signing-code.patch linux-next.patch