Messages in this thread | | | Subject | Re: [PATCH v4 6/8] PCI: Rework of_pci_get_host_bridge_resources() to devm_of_pci_get_host_bridge_resources() | From | Vladimir Zapolskiy <> | Date | Tue, 15 May 2018 13:06:48 +0300 |
| |
On 05/15/2018 12:07 PM, Jan Kiszka wrote: > From: Jan Kiszka <jan.kiszka@siemens.com> > > of_pci_get_host_bridge_resources() allocates the resource structures it > fills dynamically, but none of its callers care to release them so far. > Rather than requiring everyone to do this explicitly, convert the > existing function to a managed version. > > CC: Jingoo Han <jingoohan1@gmail.com> > CC: Joao Pinto <Joao.Pinto@synopsys.com> > CC: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> > Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Now it is correct, thanks.
Tested-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com> Reviewed-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
-- With best wishes, Vladimir
| |