Merge "pci: pci_ipq: initialize the index variable to zero"

This commit is contained in:
Linux Build Service Account 2023-03-14 06:42:51 -07:00 committed by Gerrit - the friendly Code Review server
commit a98648973e

View file

@ -1988,7 +1988,7 @@ pci_dev_t pci_find_ipq_devices(struct pci_device_id *ids, int device_id)
{
struct pci_controller * hose;
pci_dev_t bdf;
int bus, index;
int bus, index = 0;
hose = pci_get_hose_head();