+ make-initcall_level_names-const-char.patch added to -mm tree

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

 



The patch titled
     Subject: init/main.c: make "initcall_level_names[]" const char *
has been added to the -mm tree.  Its filename is
     make-initcall_level_names-const-char.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/make-initcall_level_names-const-char.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/make-initcall_level_names-const-char.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: Alexey Dobriyan <adobriyan@xxxxxxxxx>
Subject: init/main.c: make "initcall_level_names[]" const char *

Initcall names should not be changed.

Link: http://lkml.kernel.org/r/20181124091829.GD10969@avx2
Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
Reviewed-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---


--- a/init/main.c~make-initcall_level_names-const-char
+++ a/init/main.c
@@ -934,7 +934,7 @@ static initcall_entry_t *initcall_levels
 };
 
 /* Keep these in sync with initcalls in include/linux/init.h */
-static char *initcall_level_names[] __initdata = {
+static const char *initcall_level_names[] __initdata = {
 	"pure",
 	"core",
 	"postcore",
_

Patches currently in -mm which might be from adobriyan@xxxxxxxxx are

proc-update-maintainers-with-proctxt.patch
mm-make-migratetype_names-const-char.patch
mm-make-migrate_reason_names-const-char.patch
mm-make-free_reserved_area-return-const-char.patch
make-initcall_level_names-const-char.patch
coding-style-dont-use-extern-with-function-prototypes.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