Skip to content

Commit

Permalink
PCI: add debug information to resource collision message
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Chuck Ebbert authored and Greg Kroah-Hartman committed May 3, 2007
1 parent ecf3650 commit f14e313
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/i386/pci/i386.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f14e313

Please sign in to comment.