summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2022-06-25 05:15:16 +0300
committerJon Mason <jdmason@kudzu.us>2022-08-10 00:54:40 +0300
commit8e4bfbe644a6b804a72fd4575d89507a6e1d9476 (patch)
tree067a10f62c62baefe3105b18c12b623666286a01 /tools/perf/scripts/python/export-to-postgresql.py
parent556a2c7dca337954040ffdf0c544aa8bbb75583b (diff)
downloadlinux-8e4bfbe644a6b804a72fd4575d89507a6e1d9476.tar.xz
PCI: endpoint: pci-epf-vntb: fix error handle in epf_ntb_mw_bar_init()
In error case of epf_ntb_mw_bar_init(), memory window BARs should be cleared, so add 'num_mws' parameter in epf_ntb_mw_bar_clear() and calling it in error path to clear the BARs. Also add missing error code when pci_epc_mem_alloc_addr() fails. Fixes: ff32fac00d97 ("NTB: EPF: support NTB transfer between PCI RC and EP connection") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions