1
0
Fork 0
alistair23-linux/tools/pci
Hewenliang 911e1dcc1b tools: PCI: Fix fd leakage
commit 3c379a59b4 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-17 19:48:54 +01: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 2020-01-17 19:48:54 +01:00
pcitest.sh tools: PCI: Add MSI-X support 2018-07-19 11:47:13 +01:00