From 1ef5cf0f192f678f4b4749708f4010f2868aad54 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 1 Jun 2010 09:00:16 -0700 Subject: [PATCH] --- yaml --- r: 206090 b: refs/heads/master c: 7736a05a320712c0a9b8f9e1cd0688b2c0848009 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/pci/bus.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 355ffeb4a0e1..ab0cbf9e1771 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7bd1c365fd124624191d49dcc1eb9759d6017ec3 +refs/heads/master: 7736a05a320712c0a9b8f9e1cd0688b2c0848009 diff --git a/trunk/drivers/pci/bus.c b/trunk/drivers/pci/bus.c index 628ea20a8841..42eea5fbc13b 100644 --- a/trunk/drivers/pci/bus.c +++ b/trunk/drivers/pci/bus.c @@ -56,7 +56,7 @@ void pci_bus_remove_resources(struct pci_bus *bus) 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);