[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-4.0-testing] x86/hvm: fix extra size passed to __trace_var()
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1285010428 -3600 # Node ID b369366c533f22fdbf7a132d4c9ee618827fa2fe # Parent da327d3fbc640d3de43d4280370e1571276329e2 x86/hvm: fix extra size passed to __trace_var() While removing the casts on the last arguments to __trace_var() I noticed the bogus addition of 1 here. Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx> xen-unstable changeset: 22185:9cebb977e9d8 xen-unstable date: Mon Sep 20 18:53:18 2010 +0100 --- xen/include/asm-x86/hvm/trace.h | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r da327d3fbc64 -r b369366c533f xen/include/asm-x86/hvm/trace.h --- a/xen/include/asm-x86/hvm/trace.h Mon Sep 20 20:19:58 2010 +0100 +++ b/xen/include/asm-x86/hvm/trace.h Mon Sep 20 20:20:28 2010 +0100 @@ -71,7 +71,7 @@ _d.d[4]=(d5); \ _d.d[5]=(d6); \ __trace_var(TRC_HVM_ ## evt, cycles, \ - sizeof(u32)*count+1, &_d); \ + sizeof(*_d.d) * count, &_d); \ } \ } while(0) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |