1
0
Fork 0
alistair23-linux/drivers/ntb/hw
Kaige Li 13153509d8 NTB: hw: amd: fix an issue about leak system resources
[ Upstream commit 44a0a3c179 ]

The related system resources were not released when pci_set_dma_mask(),
pci_set_consistent_dma_mask(), or pci_iomap() return error in the
amd_ntb_init_pci() function. Add pci_release_regions() to fix it.

Fixes: a1b3695820 ("NTB: Add support for AMD PCI-Express Non-Transparent Bridge")
Signed-off-by: Kaige Li <likaige@loongson.cn>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-29 09:58:00 +01:00
..
amd NTB: hw: amd: fix an issue about leak system resources 2020-10-29 09:58:00 +01:00
idt NTB: fix IDT Kconfig typos/spellos 2019-09-23 17:20:40 -04:00
intel New feature to add support for NTB virtual MSI interrupts, the ability 2019-07-21 09:46:59 -07:00
mscc ntb_hw_switchtec: make ntb_mw_set_trans() work when addr == 0 2019-09-23 17:20:40 -04:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00