On Tue, 1 Jun 2010 09:00:16 -0700 Stephen Hemminger <shemminger@xxxxxxxxxx> wrote: > Assigning zero where NULL should be used. > > Signed-off-by: Stephen Hemminger <shemminger@xxxxxxxxxx> > > > --- 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); > Applied to my for-linus branch, thanks. -- Jesse Barnes, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html