[PATCH] PCI: use modern format for PCI addresses

From: Greg KH
Date: Mon Jan 17 2005 - 18:36:29 EST


ChangeSet 1.2329.2.2, 2005/01/14 15:56:59-08:00, bjorn.helgaas@xxxxxx

[PATCH] PCI: use modern format for PCI addresses

Use pci_name() rather than "%02x:%02x" when printing PCI
address information.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@xxxxxx>
Signed-off-by: Greg Kroah-Hartman <greg@xxxxxxxxx>


arch/i386/pci/pcbios.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)


diff -Nru a/arch/i386/pci/pcbios.c b/arch/i386/pci/pcbios.c
--- a/arch/i386/pci/pcbios.c 2005-01-17 13:56:28 -08:00
+++ b/arch/i386/pci/pcbios.c 2005-01-17 13:56:28 -08:00
@@ -385,8 +385,8 @@
}
}
if (!found) {
- printk(KERN_WARNING "PCI: Device %02x:%02x not found by BIOS\n",
- dev->bus->number, dev->devfn);
+ printk(KERN_WARNING "PCI: Device %s not found by BIOS\n",
+ pci_name(dev));
list_del(&dev->global_list);
list_add_tail(&dev->global_list, &sorted_devices);
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/