[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140413094934.423504a748c16f48bdd7fd70@skynet.be>
Date: Sun, 13 Apr 2014 09:49:34 +0200
From: Fabian Frederick <fabf@...net.be>
To: linux-kernel <linux-kernel@...r.kernel.org>
Cc: akpm <akpm@...ux-foundation.org>, linux-pci@...r.kernel.org
Subject: [PATCH 1/1] drivers/pci/pcie/portdrv_pci.c: coding style fixes
Move __initdata before equal sign
printk(KERN_WARNING converted to pr_warn
Cc: Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-pci@...r.kernel.org
Signed-off-by: Fabian Frederick <fabf@...net.be>
---
drivers/pci/pcie/portdrv_pci.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/pci/pcie/portdrv_pci.c b/drivers/pci/pcie/portdrv_pci.c
index 0d8fdc4..14eb431 100644
--- a/drivers/pci/pcie/portdrv_pci.c
+++ b/drivers/pci/pcie/portdrv_pci.c
@@ -402,7 +402,7 @@ static int __init dmi_pcie_pme_disable_msi(const struct dmi_system_id *d)
return 0;
}
-static struct dmi_system_id __initdata pcie_portdrv_dmi_table[] = {
+static struct dmi_system_id pcie_portdrv_dmi_table[] __initdata = {
/*
* Boxes that should not use MSI for PCIe PME signaling.
*/
@@ -429,7 +429,7 @@ static int __init pcie_portdrv_init(void)
retval = pcie_port_bus_register();
if (retval) {
- printk(KERN_WARNING "PCIE: bus_register error: %d\n", retval);
+ pr_warn("PCIE: bus_register error: %d\n", retval);
goto out;
}
retval = pci_register_driver(&pcie_portdriver);
--
1.8.3.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists