Merge branch 'pci/error'

- Fix RCiEP device to RCEC association (Qiuxu Zhuo)

* pci/error:
  PCI/RCEC: Fix RCiEP device to RCEC association
This commit is contained in:
Bjorn Helgaas
2021-05-04 10:43:22 -05:00

View File

@@ -32,7 +32,7 @@ static bool rcec_assoc_rciep(struct pci_dev *rcec, struct pci_dev *rciep)
/* Same bus, so check bitmap */
for_each_set_bit(devn, &bitmap, 32)
if (devn == rciep->devfn)
if (devn == PCI_SLOT(rciep->devfn))
return true;
return false;