Message ID | 20100601090016.069fcd33@nehalam (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
--- a/drivers/pci/bus.c 2010-06-01 08:51:28.361314729 -0700 +++ b/drivers/pci/bus.c 2010-06-01 08:51:36.769714125 -0700 @@ -56,7 +56,7 @@ void pci_bus_remove_resources(struct pci int i; for (i = 0; i < PCI_BRIDGE_RESOURCE_NUM; i++) - bus->resource[i] = 0; + bus->resource[i] = NULL; list_for_each_entry_safe(bus_res, tmp, &bus->resources, list) { list_del(&bus_res->list);