[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] AMD IOMMU: fix type of "bdf" parameter of update_intremap_entry_from_msi_msg()



Acked-by: Wei Huang <wei.huang2@xxxxxxx>

-Wei

-----Original Message-----
From: Jan Beulich [mailto:JBeulich@xxxxxxxx] 
Sent: Monday, November 19, 2012 8:14 AM
To: xen-devel
Cc: Huang2, Wei; Andrew Cooper; Wei Wang
Subject: [PATCH] AMD IOMMU: fix type of "bdf" parameter of 
update_intremap_entry_from_msi_msg()

Reported-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

--- a/xen/drivers/passthrough/amd/iommu_intr.c
+++ b/xen/drivers/passthrough/amd/iommu_intr.c
@@ -263,7 +263,7 @@ void amd_iommu_ioapic_update_ire(  }
 
 static void update_intremap_entry_from_msi_msg(
-    struct amd_iommu *iommu, u8 bdf,
+    struct amd_iommu *iommu, u16 bdf,
     struct msi_desc *msi_desc, struct msi_msg *msg)  {
     unsigned long flags;






_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.