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

[Xen-devel] [PATCH 1 of 4] hvm: remove cast from trace_var call for HVMOP_xentrace



# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1310741122 -7200
# Node ID d0dcdddf5285eba0605a95dfda79b794803fa733
# Parent  fbb448cf5cba5f441ad94f7783a0a1394fd638f9
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>

diff -r fbb448cf5cba -r d0dcdddf5285 xen/arch/x86/hvm/hvm.c
--- a/xen/arch/x86/hvm/hvm.c
+++ b/xen/arch/x86/hvm/hvm.c
@@ -3926,8 +3926,7 @@ long do_hvm_op(unsigned long op, XEN_GUE
 
         /* 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-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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