summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorPrarit Bhargava <prarit@redhat.com>2007-03-23 12:15:05 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2007-03-26 14:13:08 -0700
commitbf5b4ba3d9f37d41d940a92822b534561abf4f4c (patch)
treeb98beb67311dcc1fea7abb78719ee0b309a1e862 /drivers/pci
parent9208ee8286ea2c0136a4bc58638b0295bad791c8 (diff)
downloadop-kernel-dev-bf5b4ba3d9f37d41d940a92822b534561abf4f4c.zip
op-kernel-dev-bf5b4ba3d9f37d41d940a92822b534561abf4f4c.tar.gz
PCI: Fix warning message in PCIE port driver
PCIE error output should conform to vendor_id:device_id. Signed-off-by: Prarit Bhargava <prarit@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/pcie/portdrv_pci.c2
1 files changed, 1 insertions, 1 deletions
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);
OpenPOWER on IntegriCloud