]> err.no Git - linux-2.6/commitdiff
PCI: Fix warning message in PCIE port driver
authorPrarit Bhargava <prarit@redhat.com>
Fri, 23 Mar 2007 16:15:05 +0000 (12:15 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 26 Mar 2007 21:13:08 +0000 (14:13 -0700)
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>
drivers/pci/pcie/portdrv_pci.c

index 0be5a0b307250802e40f1ed1577bf0d338621e23..df383645e36622a9c13d09d4be89884f6ed727c0 100644 (file)
@@ -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);