summary refs log tree commit diff
path: root/arch/c6x
diff options
context:
space:
mode:
authorYi Wang <wang.yi59@zte.com.cn>2018-11-08 16:48:36 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2018-11-27 12:50:09 +0100
commit354cb410d87314e2eda344feea84809e4261570a (patch)
treee268e1f121873eb78869e77479e78dad830df554 /arch/c6x
parentf48b4711dd6e1cf282f9dfd159c14a305909c97c (diff)
downloadlinux-354cb410d87314e2eda344feea84809e4261570a.tar.gz
KVM: x86: fix empty-body warnings
We get the following warnings about empty statements when building
with 'W=1':

arch/x86/kvm/lapic.c:632:53: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
arch/x86/kvm/lapic.c:1907:42: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
arch/x86/kvm/lapic.c:1936:65: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
arch/x86/kvm/lapic.c:1975:44: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]

Rework the debug helper macro to get rid of these warnings.

Signed-off-by: Yi Wang <wang.yi59@zte.com.cn>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/c6x')
0 files changed, 0 insertions, 0 deletions