Skip to contentSkip to conversation

x86: fix a benign typo

PATCH New Jan Beulich 1 participant 1 message Jul 12, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: fix a benign typo

Just to avoid confusing readers - no functional change.

xen/arch/x86/msi.c +1 -1
@@ -676,7 +676,7 @@ static int __pci_enable_msix(struct msi_
         return -ENODEV;
 
     pos = pci_find_cap_offset(msi->bus, slot, func, PCI_CAP_ID_MSIX);
-    control = pci_conf_read16(msi->bus, slot, func, msi_control_reg(pos));
+    control = pci_conf_read16(msi->bus, slot, func, msix_control_reg(pos));
     nr_entries = multi_msix_capable(control);
     if (msi->entry_nr >= nr_entries)
         return -EINVAL;

Just to avoid confusing readers - no functional change.

xen/arch/x86/msi.c +1 -1
@@ -676,7 +676,7 @@ static int __pci_enable_msix(struct msi_
         return -ENODEV;
 
     pos = pci_find_cap_offset(msi->bus, slot, func, PCI_CAP_ID_MSIX);
-    control = pci_conf_read16(msi->bus, slot, func, msi_control_reg(pos));
+    control = pci_conf_read16(msi->bus, slot, func, msix_control_reg(pos));
     nr_entries = multi_msix_capable(control);
     if (msi->entry_nr >= nr_entries)
         return -EINVAL;

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel