1
0
Fork 0
alistair23-linux/include/trace
Christian Borntraeger cdef511985 KVM: fix sparse warning in include/trace/events/kvm.h
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>
2015-01-19 11:07:57 +01:00
..
events KVM: fix sparse warning in include/trace/events/kvm.h 2015-01-19 11:07:57 +01:00
define_trace.h tracing: Add DEFINE_EVENT_FN() macro 2013-06-20 22:24:32 -07:00
ftrace.h tracing: Fix return value of ftrace_raw_output_prep() 2014-11-19 15:25:48 -05:00
syscall.h tracing: Fix syscall_*regfunc() vs copy_process() race 2014-06-21 00:15:12 -04:00