[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20070323161505.10285.9944.sendpatchset@prarit.boston.redhat.com>
Date: Fri, 23 Mar 2007 12:15:05 -0400
From: Prarit Bhargava <prarit@...hat.com>
To: linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
tom.l.nguyen@...el.com, kristen.c.accardi@...el.com,
ddutile@...hat.com
Cc: Prarit Bhargava <prarit@...hat.com>
Subject: [PATCH]: Fix warning message in PCIE port driver
PCIE error output should conform to vendor_id:device_id.
Signed-off-by: Prarit Bhargava <prarit@...hat.com>
diff --git a/drivers/pci/pcie/portdrv_pci.c b/drivers/pci/pcie/portdrv_pci.c
index 0be5a0b..df38364 100644
--- a/drivers/pci/pcie/portdrv_pci.c
+++ b/drivers/pci/pcie/portdrv_pci.c
@@ -93,7 +93,7 @@ static int __devinit pcie_portdrv_probe (struct pci_dev *dev,
if (!dev->irq && dev->pin) {
printk(KERN_WARNING
"%s->Dev[%04x:%04x] has invalid IRQ. Check vendor BIOS\n",
- __FUNCTION__, dev->device, dev->vendor);
+ __FUNCTION__, dev->vendor, dev->device);
}
if (pcie_port_device_register(dev)) {
pci_disable_device(dev);
-
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