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 <cebbert@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
ecf36501bc
commit
f14e313650
|
@ -246,8 +246,8 @@ int pcibios_enable_resources(struct pci_dev *dev, int mask)
|
||||||
continue;
|
continue;
|
||||||
if (!r->start && r->end) {
|
if (!r->start && r->end) {
|
||||||
printk(KERN_ERR "PCI: Device %s not available "
|
printk(KERN_ERR "PCI: Device %s not available "
|
||||||
"because of resource collisions\n",
|
"because of resource %d collisions\n",
|
||||||
pci_name(dev));
|
pci_name(dev), idx);
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
if (r->flags & IORESOURCE_IO)
|
if (r->flags & IORESOURCE_IO)
|
||||||
|
|
Loading…
Reference in New Issue