diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2021-09-02 14:56:52 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2021-09-02 14:56:52 -0500 |
commit | 742a4c49a82a8fe1369e4ec2af4a9bf69123cb88 (patch) | |
tree | 123ef9cf349d42b93e449315e85fd593caa03da0 | |
parent | e3c825c93e623198ad08e73f49377489ff6fb03b (diff) | |
parent | 224d8031e482bb83e2166779f46c7bb1a5f4a888 (diff) | |
download | linux-stable-742a4c49a82a8fe1369e4ec2af4a9bf69123cb88.tar.gz linux-stable-742a4c49a82a8fe1369e4ec2af4a9bf69123cb88.tar.bz2 linux-stable-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
-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; |