diff options
author | 2020-08-11 09:59:57 +0800 | |
---|---|---|
committer | 2020-08-23 22:36:32 -0400 | |
commit | 44a0a3c17919db1498cebb02ecf3cf4abc1ade7b (patch) | |
tree | 8fda78fe848c39e316b06b54899175fdb212e79e /drivers/usb/cdns3/cdns3-debug.h | |
parent | Linux 5.9-rc2 (diff) | |
download | wireguard-linux-44a0a3c17919db1498cebb02ecf3cf4abc1ade7b.tar.xz wireguard-linux-44a0a3c17919db1498cebb02ecf3cf4abc1ade7b.zip |
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: a1b3695820aa ("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>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions