+ kernel-configs-use-incbin-directive-to-embed-config_datagz-v2.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: kernel-configs-use-incbin-directive-to-embed-config_datagz-v2
has been added to the -mm tree.  Its filename is
     kernel-configs-use-incbin-directive-to-embed-config_datagz-v2.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/kernel-configs-use-incbin-directive-to-embed-config_datagz-v2.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/kernel-configs-use-incbin-directive-to-embed-config_datagz-v2.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/process/submit-checklist.rst when testing your code ***

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

------------------------------------------------------
From: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
Subject: kernel-configs-use-incbin-directive-to-embed-config_datagz-v2

The .section directive in v1 accidentally moved executable code from .text
into .rodata (reported by kbuild test robot).  .pushsection and
.popsection should be used here.

Link: http://lkml.kernel.org/r/1550108893-21226-1-git-send-email-yamada.masahiro@xxxxxxxxxxxxx
Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 kernel/configs.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- a/kernel/configs.c~kernel-configs-use-incbin-directive-to-embed-config_datagz-v2
+++ a/kernel/configs.c
@@ -35,7 +35,7 @@
  * a binary kernel image or a module. See scripts/extract-ikconfig.
  */
 asm (
-"	.section .rodata, \"a\"			\n"
+"	.pushsection .rodata, \"a\"		\n"
 "	.ascii \"IKCFG_ST\"			\n"
 "	.global kernel_config_data		\n"
 "kernel_config_data:				\n"
@@ -43,6 +43,7 @@ asm (
 "	.global kernel_config_data_end		\n"
 "kernel_config_data_end:			\n"
 "	.ascii \"IKCFG_ED\"			\n"
+"	.popsection				\n"
 );
 
 #ifdef CONFIG_IKCONFIG_PROC
_

Patches currently in -mm which might be from yamada.masahiro@xxxxxxxxxxxxx are

linux-kernelh-use-short-to-define-ushrt_max-shrt_max-shrt_min.patch
linux-kernelh-split-_max-and-_min-macros-into-linux-limitsh.patch
kernel-configs-use-incbin-directive-to-embed-config_datagz.patch
kernel-configs-use-incbin-directive-to-embed-config_datagz-v2.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux