WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] MSI-X capability fixup

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] MSI-X capability fixup
From: Espen Skoglund <espen.skoglund@xxxxxxxxxxxxx>
Date: Fri, 4 Jul 2008 11:52:07 +0100
Delivery-date: Fri, 04 Jul 2008 03:52:47 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Fixup MSX-X capability handling so that code compiles properly.

Signed-off-by: Espen Skoglund <espen.skoglund@xxxxxxxxxxxxx>

--
diff -r 71f7946a387f drivers/xen/pciback/conf_space_capability_msi.c
--- a/drivers/xen/pciback/conf_space_capability_msi.c   Fri Jul 04 11:22:33 
2008 +0100
+++ b/drivers/xen/pciback/conf_space_capability_msi.c   Fri Jul 04 11:55:56 
2008 +0100
@@ -46,8 +46,8 @@
                int i;
 
                for (i = 0; i < op->value; i++) {
-                       entries[i].entry = op.msix_entries[i].entry;
-                       entries[i].vector = op.msix_entries[i].vector;
+                       entries[i].entry = op->msix_entries[i].entry;
+                       entries[i].vector = op->msix_entries[i].vector;
                }
 
                result = pci_enable_msix(dev, entries, op->value);

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] MSI-X capability fixup, Espen Skoglund <=