mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
IOMMU/VT-d: Fix comment
"find upstream bridge" is surprisingly jarring in context, considering that's the name of the function who's return value we're testing. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Acked-by: Roger Pau Monné <roger.pau@citrix.com>
This commit is contained in:
1 parent
a3373a82f8
commit
66f9aceafd
1 file changed
+1
-1
@@ -475,7 +475,7 @@ static void set_msi_source_id(struct pci_dev *pdev, struct iremap_entry *ire)
|
||||
set_ire_sid(ire, SVT_VERIFY_SID_SQ, SQ_ALL_16,
|
||||
PCI_BDF(bus, devfn));
|
||||
}
|
||||
else if ( ret == 1 ) /* find upstream bridge */
|
||||
else if ( ret == 1 ) /* found upstream bridge */
|
||||
{
|
||||
if ( pdev_type(seg, bus, devfn) == DEV_TYPE_PCIe2PCI_BRIDGE )
|
||||
set_ire_sid(ire, SVT_VERIFY_BUS, SQ_ALL_16,
|
||||
|
||||