Skip to contentSkip to conversation

use modern format for PCI addresses

PATCH Applied Bjorn Helgaas 2 participants 2 messages Jan 11, 2005 – Jan 12, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 use modern format for PCI addresses

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

===== arch/i386/pci/pcbios.c 1.17 vs edited =====

arch/i386/pci/pcbios.c +2 -2
@@ -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);
 		}