From: akpm@linux-foundation.org Subject: + kernel-modsign_pubkeyc-fix-init-const-for-module-signing-code.patch added to -mm tree Date: Tue, 06 Aug 2013 13:39:02 -0700 Message-ID: <52015ee6.bjrjLMjGm90OT1Qj%akpm@linux-foundation.org> Reply-To: linux-kernel@vger.kernel.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]:55929 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752858Ab3HFUjD (ORCPT ); Tue, 6 Aug 2013 16:39:03 -0400 Sender: mm-commits-owner@vger.kernel.org List-Id: mm-commits@vger.kernel.org To: mm-commits@vger.kernel.org, rusty@rustcorp.com.au, dhowells@redhat.com, ak@linux.intel.com Subject: + kernel-modsign_pubkeyc-fix-init-const-for-module-signing-code.patch added to -mm tree To: ak@linux.intel.com,dhowells@redhat.com,rusty@rustcorp.com.au From: akpm@linux-foundation.org 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 Subject: kernel/modsign_pubkey.c: fix init const for module signing code const has to use __initconst, not __initdata Signed-off-by: Andi Kleen Cc: David Howells Cc: Rusty Russell Signed-off-by: Andrew Morton --- kernel/modsign_pubkey.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -puN kernel/modsign_pubkey.c~kernel-modsign_pubkeyc-fix-init-const-for-module-signing-code kernel/modsign_pubkey.c --- a/kernel/modsign_pubkey.c~kernel-modsign_pubkeyc-fix-init-const-for-module-signing-code +++ a/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 ak@linux.intel.com 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