+ tile-pci_gx-make-setup_pcie_rc_delay-__init.patch added to -mm tree

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

 



The patch titled
     Subject: arch/tile/kernel/pci_gx.c: make setup_pcie_rc_delay() __init
has been added to the -mm tree.  Its filename is
     tile-pci_gx-make-setup_pcie_rc_delay-__init.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/tile-pci_gx-make-setup_pcie_rc_delay-__init.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/tile-pci_gx-make-setup_pcie_rc_delay-__init.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: Dou Liyang <douly.fnst@xxxxxxxxxxxxxx>
Subject: arch/tile/kernel/pci_gx.c: make setup_pcie_rc_delay() __init

The early_param() is only called during kernel initialization, So Linux
marks the functions of it with __init macro to save memory.

But it forgot to mark setup_pcie_rc_delay(). So, Make it __init as well.

Link: http://lkml.kernel.org/r/20180117034505.26667-1-douly.fnst@xxxxxxxxxxxxxx
Signed-off-by: Dou Liyang <douly.fnst@xxxxxxxxxxxxxx>
Reviewed-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Cc: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
Cc: Palmer Dabbelt <palmer@xxxxxxxxxxx>
Cc: Chris Metcalf<cmetcalf@xxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 arch/tile/kernel/pci_gx.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN arch/tile/kernel/pci_gx.c~tile-pci_gx-make-setup_pcie_rc_delay-__init arch/tile/kernel/pci_gx.c
--- a/arch/tile/kernel/pci_gx.c~tile-pci_gx-make-setup_pcie_rc_delay-__init
+++ a/arch/tile/kernel/pci_gx.c
@@ -617,7 +617,7 @@ static void fixup_read_and_payload_sizes
 	}
 }
 
-static int setup_pcie_rc_delay(char *str)
+static int __init setup_pcie_rc_delay(char *str)
 {
 	unsigned long delay = 0;
 	unsigned long trio_index;
_

Patches currently in -mm which might be from douly.fnst@xxxxxxxxxxxxxx are

tile-pci_gx-make-setup_pcie_rc_delay-__init.patch
mm-kmemleak-make-kmemleak_boot_config-__init.patch
mm-page_owner-make-early_page_owner_param-__init.patch
mm-page_poison-make-early_page_poison_param-__init.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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