1
0
Fork 0
alistair23-linux/drivers/ntb/hw
Kaige Li 44a0a3c179 NTB: hw: amd: fix an issue about leak system resources
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>
2020-08-23 22:36:32 -04:00
..
amd NTB: hw: amd: fix an issue about leak system resources 2020-08-23 22:36:32 -04:00
idt ntb: hw: remove the code that sets the DMA mask 2020-06-05 20:02:08 -04:00
intel ntb: intel: constify ioreadX() iomem argument (as in generic implementation) 2020-08-14 19:56:57 -07:00
mscc ntb_hw_switchtec: Fix ntb_mw_clear_trans error if size == 0 2020-03-13 10:03:49 -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