* [PATCH] use modern format for PCI addresses
@ 2005-01-11 23:16 Bjorn Helgaas
2005-01-12 0:36 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Bjorn Helgaas @ 2005-01-11 23:16 UTC (permalink / raw)
To: Andrew Morton; +Cc: Greg Kroah-Hartman, linux-kernel
Use pci_name() rather than "%02x:%02x" when printing PCI
address information.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
===== arch/i386/pci/pcbios.c 1.17 vs edited =====
--- 1.17/arch/i386/pci/pcbios.c 2004-07-11 06:41:13 -06:00
+++ edited/arch/i386/pci/pcbios.c 2005-01-11 09:41:24 -07: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);
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] use modern format for PCI addresses
2005-01-11 23:16 [PATCH] use modern format for PCI addresses Bjorn Helgaas
@ 2005-01-12 0:36 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2005-01-12 0:36 UTC (permalink / raw)
To: Bjorn Helgaas; +Cc: Andrew Morton, linux-kernel
On Tue, Jan 11, 2005 at 04:16:36PM -0700, Bjorn Helgaas wrote:
> Use pci_name() rather than "%02x:%02x" when printing PCI
> address information.
>
> Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Applied, thanks.
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-01-12 0:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-11 23:16 [PATCH] use modern format for PCI addresses Bjorn Helgaas
2005-01-12 0:36 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).