Message ID | 20100618020232.GA425@host-a-229.ustcsz.edu.cn (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
diff --git a/drivers/pci/bus.c b/drivers/pci/bus.c index 628ea20..4e71777 100644 --- a/drivers/pci/bus.c +++ b/drivers/pci/bus.c @@ -240,6 +240,9 @@ void pci_enable_bridges(struct pci_bus *bus) if (dev->subordinate) { if (!pci_is_enabled(dev)) { retval = pci_enable_device(dev); + if (retval) + dev_err(&dev->dev, "Error opening " + "device, continuing\n"); pci_set_master(dev); } pci_enable_bridges(dev->subordinate);