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-- 7.3 KB
Makefile -rw-r--r-- 805 bytes
block.c -rw-r--r-- 5.5 KB
cache.c -rw-r--r-- 11.6 KB
decompressor.c -rw-r--r-- 3.7 KB
decompressor.h -rw-r--r-- 1.9 KB
decompressor_multi.c -rw-r--r-- 4.6 KB
decompressor_multi_percpu.c -rw-r--r-- 2.3 KB
decompressor_single.c -rw-r--r-- 1.8 KB
dir.c -rw-r--r-- 5.9 KB
export.c -rw-r--r-- 4.6 KB
file.c -rw-r--r-- 14.1 KB
file_cache.c -rw-r--r-- 961 bytes
file_direct.c -rw-r--r-- 4.4 KB
fragment.c -rw-r--r-- 3.1 KB
id.c -rw-r--r-- 2.9 KB
inode.c -rw-r--r-- 12.4 KB
lz4_wrapper.c -rw-r--r-- 3.0 KB
lzo_wrapper.c -rw-r--r-- 3.0 KB
namei.c -rw-r--r-- 7.5 KB
page_actor.c -rw-r--r-- 2.6 KB
page_actor.h -rw-r--r-- 2.0 KB
squashfs.h -rw-r--r-- 3.9 KB
squashfs_fs.h -rw-r--r-- 10.8 KB
squashfs_fs_i.h -rw-r--r-- 1.4 KB
squashfs_fs_sb.h -rw-r--r-- 2.1 KB
super.c -rw-r--r-- 13.8 KB
symlink.c -rw-r--r-- 3.8 KB
xattr.c -rw-r--r-- 8.4 KB
xattr.h -rw-r--r-- 1.6 KB
xattr_id.c -rw-r--r-- 2.7 KB
xz_wrapper.c -rw-r--r-- 4.3 KB
zlib_wrapper.c -rw-r--r-- 3.1 KB

back to top