xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] x86: fix a benign typo
@ 2010-07-12  8:48 Jan Beulich
  0 siblings, 0 replies; only message in thread
From: Jan Beulich @ 2010-07-12  8:48 UTC (permalink / raw)
  To: xen-devel@lists.xensource.com

[-- Attachment #1: Type: text/plain, Size: 695 bytes --]

Just to avoid confusing readers - no functional change.

Signed-off-by: Jan Beulich <jbeulich@novell.com>

--- 2010-06-15.orig/xen/arch/x86/msi.c	2010-03-26 10:19:56.000000000 +0100
+++ 2010-06-15/xen/arch/x86/msi.c	2010-07-09 14:03:28.000000000 +0200
@@ -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;




[-- Attachment #2: x86-msix-typo.patch --]
[-- Type: text/plain, Size: 689 bytes --]

Just to avoid confusing readers - no functional change.

Signed-off-by: Jan Beulich <jbeulich@novell.com>

--- 2010-06-15.orig/xen/arch/x86/msi.c	2010-03-26 10:19:56.000000000 +0100
+++ 2010-06-15/xen/arch/x86/msi.c	2010-07-09 14:03:28.000000000 +0200
@@ -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;

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-07-12  8:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-12  8:48 [PATCH] x86: fix a benign typo Jan Beulich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).