diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2021-05-04 10:43:22 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2021-05-04 10:43:22 -0500 |
commit | 6d34adbe0eb0e860ce70a0e63ae1d68cbcc0a996 (patch) | |
tree | 3c2a721add6510e3ed66796c15cc355c643a4464 /drivers/pci | |
parent | 975af39978f9e4eaeca0a3b0940632cceebe21a4 (diff) | |
parent | d9b7eae8e3424c3480fe9f40ebafbb0c96426e4c (diff) |
Merge branch 'pci/error'
- Fix RCiEP device to RCEC association (Qiuxu Zhuo)
* pci/error:
PCI/RCEC: Fix RCiEP device to RCEC association
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/pcie/rcec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pcie/rcec.c b/drivers/pci/pcie/rcec.c index 2c5c552994e4..d0bcd141ac9c 100644 --- a/drivers/pci/pcie/rcec.c +++ b/drivers/pci/pcie/rcec.c @@ -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; |