mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 11:40:19 -04:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user