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 <harunobu.kurokawa...@renesas.com>
---
drivers/pci/host/pcie-rcar.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pci/host/pcie-rc
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 | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pci/host/pcie-rcar.c b/drivers/pci/host/pcie-rcar.c
index
may cause
memory leaks.
Fix the driver error exit path reinstating the previous correct
error exit behaviour.
Fixes: 90634e854079 ("PCI: rcar: Convert PCI scan API to
pci_scan_root_bus_bridge()")
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieral...@arm.com>
Signed-off-by: Haru
iver error exit path reinstating the previous correct
error exit behaviour.
Fixes: 90634e854079 ("PCI: rcar: Convert PCI scan API to
pci_scan_root_bus_bridge()")
Signed-off-by: Lorenzo Pieralisi
Signed-off-by: Harunobu Kurokawa
---
drivers/pci/host/pcie-rcar.c | 11 +-
When no PCIe card is inserted, there is a memory leak as
pci_free_resource_list is not called before returning.
v2:
separate the patch to two files.
Harunobu Kurokawa (1):
PCI: rcar-pcie: Fix memory leak when no PCIe card is inserted
Lorenzo Pieralisi (1):
PCI: rcar: Fix error exit path
When no PCIe card is inserted, there is a memory leak as
pci_free_resource_list is not called before returning.
v2:
separate the patch to two files.
Harunobu Kurokawa (1):
PCI: rcar-pcie: Fix memory leak when no PCIe card is inserted
Lorenzo Pieralisi (1):
PCI: rcar: Fix error exit path
Hi
> -Original Message-
> From: Lorenzo Pieralisi [mailto:lorenzo.pieral...@arm.com]
> Sent: Wednesday, August 2, 2017 6:03 PM
> To: HARUNOBU KUROKAWA <harunobu.kurokawa...@renesas.com>
> Cc: ho...@verge.net.au; bhelg...@google.com; linux-...@vger.kernel.
Hi
> -Original Message-
> From: Lorenzo Pieralisi [mailto:lorenzo.pieral...@arm.com]
> Sent: Wednesday, August 2, 2017 6:03 PM
> To: HARUNOBU KUROKAWA
> Cc: ho...@verge.net.au; bhelg...@google.com; linux-...@vger.kernel.org;
> linux-renesas-...@vger.kernel.o
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 <harunobu.kurokawa...@renesas.com>
---
drivers/pci/host/pcie-rcar.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/d
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 insertions(+), 3 deletions(-)
diff --git a/drivers/pci/host/pcie-rcar.c b/drivers/pci
10 matches
Mail list logo