Revision cdef511985374dd042a40bb32c1c346c2662c9dc authored by Christian Borntraeger on 15 January 2015, 14:21:19 UTC, committed by Paolo Bonzini on 19 January 2015, 10:07:57 UTC
sparse complains about
include/trace/events/kvm.h:163:1: error: directive in argument list
include/trace/events/kvm.h:167:1: error: directive in argument list
include/trace/events/kvm.h:169:1: error: directive in argument list
and sparse is right. Preprocessing directives in an argument of a
macro are undefined behaviour as of C99 6.10.3p11.

Lets use an indirection to fix this.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
1 parent ec6f34e
History
File Mode Size
Makefile -rw-r--r-- 219 bytes
rcu.h -rw-r--r-- 4.5 KB
rcutorture.c -rw-r--r-- 51.2 KB
srcu.c -rw-r--r-- 22.0 KB
tiny.c -rw-r--r-- 10.5 KB
tiny_plugin.h -rw-r--r-- 4.8 KB
tree.c -rw-r--r-- 116.9 KB
tree.h -rw-r--r-- 26.1 KB
tree_plugin.h -rw-r--r-- 93.5 KB
tree_trace.c -rw-r--r-- 12.9 KB
update.c -rw-r--r-- 23.3 KB

back to top