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

[Xen-changelog] [xen-unstable] hvm: remove cast from trace_var call for HVMOP_xentrace



# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1310804643 -3600
# Node ID b03ab9a943a4ad13457474eab7f1767583b684af
# Parent  330b6b1d5b7a4e375ae3ef150e5b808a1e7c8713
hvm: remove cast from trace_var call for HVMOP_xentrace

trace_var() takes a void pointer, casting is not needed.

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
Acked-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>
---


diff -r 330b6b1d5b7a -r b03ab9a943a4 xen/arch/x86/hvm/hvm.c
--- a/xen/arch/x86/hvm/hvm.c    Sat Jul 16 09:23:22 2011 +0100
+++ b/xen/arch/x86/hvm/hvm.c    Sat Jul 16 09:24:03 2011 +0100
@@ -3926,8 +3926,7 @@
 
         /* Cycles will be taken at the vmexit and vmenter */
         trace_var(tr.event | TRC_GUEST, 0 /*!cycles*/,
-                  tr.extra_bytes,
-                  (unsigned char *)tr.extra);
+                  tr.extra_bytes, tr.extra);
         break;
     }
 

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


 


Rackspace

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