From patchwork Sun Apr 13 07:49:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabian Frederick X-Patchwork-Id: 3973571 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 39527BFF02 for ; Sun, 13 Apr 2014 07:50:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6BB192028D for ; Sun, 13 Apr 2014 07:50:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F31232022D for ; Sun, 13 Apr 2014 07:50:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751217AbaDMHth (ORCPT ); Sun, 13 Apr 2014 03:49:37 -0400 Received: from mailrelay002.isp.belgacom.be ([195.238.6.175]:44012 "EHLO mailrelay002.isp.belgacom.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751147AbaDMHth (ORCPT ); Sun, 13 Apr 2014 03:49:37 -0400 X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AncGAE1ASlNXQ5wQ/2dsb2JhbABZgwbEP4EYF3SCZhwjGIECJBOIAAHKWI5uhD8BA45figEBimSHX4MzOw Received: from 16.156-67-87.adsl-dyn.isp.belgacom.be (HELO hplaser1) ([87.67.156.16]) by relay.skynet.be with SMTP; 13 Apr 2014 09:49:34 +0200 Date: Sun, 13 Apr 2014 09:49:34 +0200 From: Fabian Frederick To: linux-kernel Cc: akpm , linux-pci@vger.kernel.org Subject: [PATCH 1/1] drivers/pci/pcie/portdrv_pci.c: coding style fixes Message-Id: <20140413094934.423504a748c16f48bdd7fd70@skynet.be> X-Mailer: Sylpheed 3.2.0beta5 (GTK+ 2.24.10; i686-pc-linux-gnu) Mime-Version: 1.0 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-7.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Move __initdata before equal sign printk(KERN_WARNING converted to pr_warn Cc: Andrew Morton Cc: linux-pci@vger.kernel.org Signed-off-by: Fabian Frederick --- 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);