mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-12 16:19:53 +00:00
frv/PCI: remove redundant warnings
pci_claim_resource() already prints more detailed error messages, so these are really redundant. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
This commit is contained in:
parent
c9c9b56471
commit
99f4692e13
@ -94,8 +94,7 @@ static void __init pcibios_allocate_bus_resources(struct list_head *bus_list)
|
|||||||
r = &dev->resource[idx];
|
r = &dev->resource[idx];
|
||||||
if (!r->start)
|
if (!r->start)
|
||||||
continue;
|
continue;
|
||||||
if (pci_claim_resource(dev, idx) < 0)
|
pci_claim_resource(dev, idx);
|
||||||
printk(KERN_ERR "PCI: Cannot allocate resource region %d of bridge %s\n", idx, pci_name(dev));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
pcibios_allocate_bus_resources(&bus->children);
|
pcibios_allocate_bus_resources(&bus->children);
|
||||||
@ -125,7 +124,6 @@ static void __init pcibios_allocate_resources(int pass)
|
|||||||
DBG("PCI: Resource %08lx-%08lx (f=%lx, d=%d, p=%d)\n",
|
DBG("PCI: Resource %08lx-%08lx (f=%lx, d=%d, p=%d)\n",
|
||||||
r->start, r->end, r->flags, disabled, pass);
|
r->start, r->end, r->flags, disabled, pass);
|
||||||
if (pci_claim_resource(dev, idx) < 0) {
|
if (pci_claim_resource(dev, idx) < 0) {
|
||||||
printk(KERN_ERR "PCI: Cannot allocate resource region %d of device %s\n", idx, pci_name(dev));
|
|
||||||
/* We'll assign a new address later */
|
/* We'll assign a new address later */
|
||||||
r->end -= r->start;
|
r->end -= r->start;
|
||||||
r->start = 0;
|
r->start = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user