Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f14e3136 authored by Chuck Ebbert's avatar Chuck Ebbert Committed by Greg Kroah-Hartman
Browse files

PCI: add debug information to resource collision message



Add more information to PCI resource collision message
to help with debugging.

Signed-off-by: default avatarChuck Ebbert <cebbert@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent ecf36501
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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)