mirror of
https://github.com/adulau/aha.git
synced 2024-12-30 20:56:23 +00:00
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
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue