From: Thomas Huth Date: Fri, 11 Sep 2020 12:53:01 +0000 (+0200) Subject: target/i386/kvm: Add missing fallthrough comment X-Git-Tag: qemu-xen-4.16.0-rc4~641^2 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=8821e21414468b1810f0ccf38bcbfa5c0bd1d56b;p=qemu-xen.git target/i386/kvm: Add missing fallthrough comment Let's make this file compilable with -Werror=implicit-fallthrough : Looking at the code, it seems like the fallthrough is intended here, so we should add the corresponding "/* fallthrough */" comment here. Signed-off-by: Thomas Huth Acked-by: Paolo Bonzini Message-Id: <20200911125301.413081-1-thuth@redhat.com> Signed-off-by: Laurent Vivier --- diff --git a/target/i386/kvm.c b/target/i386/kvm.c index 3d640a8dec..d87af57a23 100644 --- a/target/i386/kvm.c +++ b/target/i386/kvm.c @@ -1568,6 +1568,7 @@ int kvm_arch_init_vcpu(CPUState *cs) if (env->nr_dies < 2) { break; } + /* fallthrough */ case 4: case 0xb: case 0xd: