]> xenbits.xensource.com Git - people/royger/xen.git/commitdiff
IOMMU/VT-d: Fix comment
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 24 Feb 2025 17:05:02 +0000 (17:05 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 4 Mar 2025 12:53:15 +0000 (12:53 +0000)
"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>
xen/drivers/passthrough/vtd/intremap.c

index 820616a8de9307626eada4756cbe19f59b66af12..1aeaeb5ec595a8e74baf2062511b8c23ddb3e568 100644 (file)
@@ -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,