linux-stable/drivers/ntb
Kaige Li 94ae143ca5 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:07:14 +01:00
..
hw NTB: hw: amd: fix an issue about leak system resources 2020-10-29 09:07:14 +01:00
test
Kconfig
Makefile
ntb.c NTB: Fix the default port and peer numbers for legacy drivers 2020-06-25 15:41:50 +02:00
ntb_transport.c ntb_transport: Fix bug with max_mw_size parameter 2018-04-26 11:02:13 +02:00