Skip to contentSkip to conversation

: Fix warning message in PCIE port driver

PATCH New Prarit Bhargava 1 participant 1 message Mar 23, 2007 PCI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : Fix warning message in PCIE port driver

PCIE error output should conform to vendor_id:device_id.

drivers/pci/pcie/portdrv_pci.c +1 -1
index 0be5a0b..df38364 100644
@@ -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);