linux-sg2042/tools/pci
Hewenliang 3c379a59b4 tools: PCI: Fix fd leakage
We should close fd before the return of run_test.

Fixes: 3f2ed81348 ("tools: PCI: Add a userspace tool to test PCI endpoint")
Signed-off-by: Hewenliang <hewenliang4@huawei.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
2019-10-29 12:04:18 +00:00
..
Build tools: PCI: Change pcitest compiling process 2018-10-03 11:19:52 +01:00
Makefile tools: PCI: Fix installation when `make tools/pci_install` 2019-07-09 17:31:22 +01:00
pcitest.c tools: PCI: Fix fd leakage 2019-10-29 12:04:18 +00:00
pcitest.sh tools: PCI: Add MSI-X support 2018-07-19 11:47:13 +01:00