[core] hooks: zero stack-allocated struct.

This commit is contained in:
Adam Madsen 2020-11-11 14:04:17 -06:00
parent 83ca5e9ae5
commit edda7f02a5
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ static int hooked_pci_dev_specific_reset(struct pci_dev *dev, int probe)
{
int ret;
struct vendor_reset_cfg *cfg;
struct vendor_reset_dev vdev;
struct vendor_reset_dev vdev = {0};
ret = orig_pci_dev_specific_reset(dev, probe);
if (!ret || ret != -ENOTTY)