mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 08:33:17 +02: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:
commit
6d34adbe0e
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user