linux-stable/drivers/pci/endpoint
Frank Li 21d8b6bd37 PCI: endpoint: pci-epf-vntb: Fix call pci_epc_mem_free_addr() in error path
[ Upstream commit 0c031262d2 ]

Replace pci_epc_mem_free_addr() with pci_epf_free_space() in the
error handle path to match pci_epf_alloc_space().

Link: https://lore.kernel.org/r/20221102141014.1025893-4-Frank.Li@nxp.com
Fixes: e35f56bb03 ("PCI: endpoint: Support NTB transfer between RC and EP")
Signed-off-by: Frank Li <frank.li@nxp.com>
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-31 13:32:34 +01:00
..
functions PCI: endpoint: pci-epf-vntb: Fix call pci_epc_mem_free_addr() in error path 2022-12-31 13:32:34 +01:00
Kconfig PCI: consolidate PCI config entry in drivers/pci 2018-11-23 11:45:34 +09:00
Makefile PCI: Add SPDX GPL-2.0 when no license was specified 2018-01-26 11:45:16 -06:00
pci-ep-cfs.c Merge branch 'remotes/lorenzo/pci/endpoint' 2021-11-05 11:28:50 -05:00
pci-epc-core.c PCI: endpoint: Return -EINVAL when interrupts num is smaller than 1 2022-01-07 10:35:34 +00:00
pci-epc-mem.c PCI: Fix kerneldoc warnings 2020-08-05 18:23:14 -05:00
pci-epf-core.c PCI: Correct misspelled and remove duplicated words 2021-10-08 17:14:04 -05:00