diff options
author | 2021-09-02 14:56:52 -0500 | |
---|---|---|
committer | 2021-09-02 14:56:52 -0500 | |
commit | 742a4c49a82a8fe1369e4ec2af4a9bf69123cb88 (patch) | |
tree | 123ef9cf349d42b93e449315e85fd593caa03da0 /tools | |
parent | Merge branch 'remotes/lorenzo/pci/misc' (diff) | |
parent | tools: PCI: Zero-initialize param (diff) | |
download | wireguard-linux-742a4c49a82a8fe1369e4ec2af4a9bf69123cb88.tar.xz wireguard-linux-742a4c49a82a8fe1369e4ec2af4a9bf69123cb88.zip |
Merge branch 'remotes/lorenzo/pci/tools'
- Zero-initialize pcitest param to avoid random "-d" setting (Shunyong
Yang)
* remotes/lorenzo/pci/tools:
tools: PCI: Zero-initialize param
Diffstat (limited to 'tools')
-rw-r--r-- | tools/pci/pcitest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pci/pcitest.c b/tools/pci/pcitest.c index 0a1344c45213..441b54234635 100644 --- a/tools/pci/pcitest.c +++ b/tools/pci/pcitest.c @@ -40,7 +40,7 @@ struct pci_test { static int run_test(struct pci_test *test) { - struct pci_endpoint_test_xfer_param param; + struct pci_endpoint_test_xfer_param param = {}; int ret = -EINVAL; int fd; |