diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index b01bd5bba8e604709c3b51f14f9fbdb796a2c4fb..d5575f6b9c62f2e6284a831f339b84f5fe8bacfc 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -455,7 +455,7 @@ struct resource *pci_find_parent_resource(const struct pci_dev *dev, pci_bus_for_each_resource(bus, r, i) { if (!r) continue; - if (res->start && resource_contains(r, res)) { + if (resource_contains(r, res)) { /* * If the window is prefetchable but the BAR is