diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2010-06-01 09:00:16 -0700 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-07-30 09:29:13 -0700 |
commit | 7736a05a320712c0a9b8f9e1cd0688b2c0848009 (patch) | |
tree | 571e5ef6ee61eee5f61af3db17e69fea4f3a37b6 /drivers/pci | |
parent | 7bd1c365fd124624191d49dcc1eb9759d6017ec3 (diff) | |
download | op-kernel-dev-7736a05a320712c0a9b8f9e1cd0688b2c0848009.zip op-kernel-dev-7736a05a320712c0a9b8f9e1cd0688b2c0848009.tar.gz |
PCI: sparse warning (trivial)
Assigning zero where NULL should be used.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/bus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/bus.c b/drivers/pci/bus.c index 628ea20..42eea5fb 100644 --- a/drivers/pci/bus.c +++ b/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); |