* [PATCH]: Fix warning message in PCIE port driver
@ 2007-03-23 16:15 Prarit Bhargava
0 siblings, 0 replies; only message in thread
From: Prarit Bhargava @ 2007-03-23 16:15 UTC (permalink / raw)
To: linux-kernel, akpm, tom.l.nguyen, kristen.c.accardi, ddutile
Cc: Prarit Bhargava
PCIE error output should conform to vendor_id:device_id.
Signed-off-by: Prarit Bhargava <prarit@redhat.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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-03-23 16:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-23 16:15 [PATCH]: Fix warning message in PCIE port driver Prarit Bhargava
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome