diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2024-06-10 12:33:49 +0300 |
---|---|---|
committer | Krzysztof Wilczyński <kwilczynski@kernel.org> | 2024-07-04 17:40:53 +0300 |
commit | 6bba3c0ac5dc54737998a0982b2e272242c87e0f (patch) | |
tree | 12ed0fbdd77b1ae40a8432da0aea4475a1d7e131 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8e0f5a96c534f781e8c57ca30459448b3bfe5429 (diff) | |
download | linux-6bba3c0ac5dc54737998a0982b2e272242c87e0f.tar.xz |
PCI: endpoint: Fix error handling in epf_ntb_epc_cleanup()
There are two issues related to epf_ntb_epc_cleanup():
1) It should call epf_ntb_config_sspad_bar_clear()
2) The epf_ntb_bind() function should call epf_ntb_epc_cleanup()
to cleanup.
I also changed the ordering a bit. Unwinding should be done in the
mirror order from how they are allocated.
Fixes: e35f56bb0330 ("PCI: endpoint: Support NTB transfer between RC and EP")
Link: https://lore.kernel.org/linux-pci/aaffbe8d-7094-4083-8146-185f4a84e8a1@moroto.mountain
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions