WSL2-Linux-Kernel/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
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