Re: [PATCH] drivers: of: pci: remove duplicate kfree in of_pci_get_host_bridge_resources

2015-02-11 Thread Rafael J. Wysocki
On Wednesday, February 11, 2015 04:50:57 PM Bjorn Helgaas wrote: > On Wed, Feb 11, 2015 at 04:58:35AM +, Lorenzo Pieralisi wrote: > > Commit d2be00c0fb5a ("of/pci: Free resources on failure in > > of_pci_get_host_bridge_resources()") fixed the error code path in > >

Re: [PATCH] drivers: of: pci: remove duplicate kfree in of_pci_get_host_bridge_resources

2015-02-11 Thread Bjorn Helgaas
On Wed, Feb 11, 2015 at 04:58:35AM +, Lorenzo Pieralisi wrote: > Commit d2be00c0fb5a ("of/pci: Free resources on failure in > of_pci_get_host_bridge_resources()") fixed the error code path in > of_pci_get_host_bridge_resources() by adding code that runs through the > resources list to free all

Re: [PATCH] drivers: of: pci: remove duplicate kfree in of_pci_get_host_bridge_resources

2015-02-11 Thread Bjorn Helgaas
On Wed, Feb 11, 2015 at 04:58:35AM +, Lorenzo Pieralisi wrote: Commit d2be00c0fb5a (of/pci: Free resources on failure in of_pci_get_host_bridge_resources()) fixed the error code path in of_pci_get_host_bridge_resources() by adding code that runs through the resources list to free all

Re: [PATCH] drivers: of: pci: remove duplicate kfree in of_pci_get_host_bridge_resources

2015-02-11 Thread Rafael J. Wysocki
On Wednesday, February 11, 2015 04:50:57 PM Bjorn Helgaas wrote: On Wed, Feb 11, 2015 at 04:58:35AM +, Lorenzo Pieralisi wrote: Commit d2be00c0fb5a (of/pci: Free resources on failure in of_pci_get_host_bridge_resources()) fixed the error code path in of_pci_get_host_bridge_resources()

[PATCH] drivers: of: pci: remove duplicate kfree in of_pci_get_host_bridge_resources

2015-02-10 Thread Lorenzo Pieralisi
Commit d2be00c0fb5a ("of/pci: Free resources on failure in of_pci_get_host_bridge_resources()") fixed the error code path in of_pci_get_host_bridge_resources() by adding code that runs through the resources list to free all resources in it and then calls kfree on the bus_range resource pointer to

[PATCH] drivers: of: pci: remove duplicate kfree in of_pci_get_host_bridge_resources

2015-02-10 Thread Lorenzo Pieralisi
Commit d2be00c0fb5a (of/pci: Free resources on failure in of_pci_get_host_bridge_resources()) fixed the error code path in of_pci_get_host_bridge_resources() by adding code that runs through the resources list to free all resources in it and then calls kfree on the bus_range resource pointer to