Skip to content

Commit

Permalink
Merge branch 'remotes/lorenzo/pci/tools'
Browse files Browse the repository at this point in the history
- Zero-initialize pcitest param to avoid random "-d" setting (Shunyong
  Yang)

* remotes/lorenzo/pci/tools:
  tools: PCI: Zero-initialize param
  • Loading branch information
Bjorn Helgaas committed Sep 2, 2021
2 parents e3c825c + 224d803 commit 742a4c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/pci/pcitest.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 742a4c4

Please sign in to comment.