From: Chuck Ebbert Date: Tue, 10 Apr 2007 14:25:44 +0000 (-0400) Subject: PCI: add debug information to resource collision message X-Git-Tag: MMI-PSA29.97-13-9~44182^2~23 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f14e3136509e3825a83f6689cb709f41dfacea47;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git PCI: add debug information to resource collision message Add more information to PCI resource collision message to help with debugging. Signed-off-by: Chuck Ebbert Signed-off-by: Greg Kroah-Hartman --- diff --git a/arch/i386/pci/i386.c b/arch/i386/pci/i386.c index 43005f044424..bcd2f94b732c 100644 --- a/arch/i386/pci/i386.c +++ b/arch/i386/pci/i386.c @@ -246,8 +246,8 @@ int pcibios_enable_resources(struct pci_dev *dev, int mask) continue; if (!r->start && r->end) { printk(KERN_ERR "PCI: Device %s not available " - "because of resource collisions\n", - pci_name(dev)); + "because of resource %d collisions\n", + pci_name(dev), idx); return -EINVAL; } if (r->flags & IORESOURCE_IO)