RE: [PATCH] PCI: rcar-pcie: Fix memory leak when no PCIe card is inserted

2017-08-02 Thread HARUNOBU KUROKAWA
org; > linux-renesas-...@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: Re: [PATCH] PCI: rcar-pcie: Fix memory leak when no PCIe card is > inserted > > On Wed, Aug 02, 2017 at 04:13:20PM +0900, Harunobu Kurokawa wrote: > > When no PCIe card is inserted, there i

RE: [PATCH] PCI: rcar-pcie: Fix memory leak when no PCIe card is inserted

2017-08-02 Thread HARUNOBU KUROKAWA
rg; > linux-kernel@vger.kernel.org > Subject: Re: [PATCH] PCI: rcar-pcie: Fix memory leak when no PCIe card is > inserted > > On Wed, Aug 02, 2017 at 04:13:20PM +0900, Harunobu Kurokawa wrote: > > When no PCIe card is inserted, there is a memory leak as > > pci_free

Re: [PATCH] PCI: rcar-pcie: Fix memory leak when no PCIe card is inserted

2017-08-02 Thread Lorenzo Pieralisi
On Wed, Aug 02, 2017 at 04:13:20PM +0900, Harunobu Kurokawa wrote: > When no PCIe card is inserted, there is a memory leak as > pci_free_resource_list is not called before returning. > > Signed-off-by: Harunobu Kurokawa > --- > drivers/pci/host/pcie-rcar.c | 7

Re: [PATCH] PCI: rcar-pcie: Fix memory leak when no PCIe card is inserted

2017-08-02 Thread Lorenzo Pieralisi
On Wed, Aug 02, 2017 at 04:13:20PM +0900, Harunobu Kurokawa wrote: > When no PCIe card is inserted, there is a memory leak as > pci_free_resource_list is not called before returning. > > Signed-off-by: Harunobu Kurokawa > --- > drivers/pci/host/pcie-rcar.c | 7 --- > 1 file changed, 4