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
Kconfig -rw-r--r-- 18.6 KB
Makefile -rw-r--r-- 2.2 KB
blktrace.c -rw-r--r-- 42.3 KB
ftrace.c -rw-r--r-- 136.2 KB
power-traces.c -rw-r--r-- 330 bytes
ring_buffer.c -rw-r--r-- 129.1 KB
ring_buffer_benchmark.c -rw-r--r-- 10.4 KB
rpm-traces.c -rw-r--r-- 474 bytes
trace.c -rw-r--r-- 164.4 KB
trace.h -rw-r--r-- 40.1 KB
trace_benchmark.c -rw-r--r-- 4.3 KB
trace_benchmark.h -rw-r--r-- 836 bytes
trace_branch.c -rw-r--r-- 9.0 KB
trace_clock.c -rw-r--r-- 3.4 KB
trace_entries.h -rw-r--r-- 7.4 KB
trace_event_perf.c -rw-r--r-- 8.8 KB
trace_events.c -rw-r--r-- 62.3 KB
trace_events_filter.c -rw-r--r-- 53.6 KB
trace_events_filter_test.h -rw-r--r-- 1.0 KB
trace_events_trigger.c -rw-r--r-- 34.7 KB
trace_export.c -rw-r--r-- 5.2 KB
trace_functions.c -rw-r--r-- 15.1 KB
trace_functions_graph.c -rw-r--r-- 35.4 KB
trace_irqsoff.c -rw-r--r-- 17.4 KB
trace_kdb.c -rw-r--r-- 3.1 KB
trace_kprobe.c -rw-r--r-- 36.2 KB
trace_mmiotrace.c -rw-r--r-- 8.8 KB
trace_nop.c -rw-r--r-- 2.2 KB
trace_output.c -rw-r--r-- 26.1 KB
trace_output.h -rw-r--r-- 1.4 KB
trace_printk.c -rw-r--r-- 8.4 KB
trace_probe.c -rw-r--r-- 17.4 KB
trace_probe.h -rw-r--r-- 11.2 KB
trace_sched_switch.c -rw-r--r-- 2.2 KB
trace_sched_wakeup.c -rw-r--r-- 19.0 KB
trace_selftest.c -rw-r--r-- 26.6 KB
trace_selftest_dynamic.c -rw-r--r-- 168 bytes
trace_seq.c -rw-r--r-- 9.9 KB
trace_stack.c -rw-r--r-- 10.7 KB
trace_stat.c -rw-r--r-- 7.6 KB
trace_stat.h -rw-r--r-- 973 bytes
trace_syscalls.c -rw-r--r-- 18.4 KB
trace_uprobe.c -rw-r--r-- 30.3 KB

back to top