]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
KVM: SVM: Add a missing 'break' statement
authorJan H. Schönherr <jschoenh@amazon.de>
Tue, 5 Sep 2017 21:58:44 +0000 (23:58 +0200)
committerRadim Krčmář <rkrcmar@redhat.com>
Wed, 13 Sep 2017 14:40:23 +0000 (16:40 +0200)
Signed-off-by: Jan H. Schönherr <jschoenh@amazon.de>
Fixes: f6511935f424 ("KVM: SVM: Add checks for IO instructions")
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/svm.c

index 2c1cfe68a9af1e11761f1938deea2d6d1fe51ab5..af54327b9017a5239b6e3b016048207645d66fa8 100644 (file)
@@ -5302,6 +5302,7 @@ static int svm_check_intercept(struct kvm_vcpu *vcpu,
                 */
                if (info->rep_prefix != REPE_PREFIX)
                        goto out;
+               break;
        case SVM_EXIT_IOIO: {
                u64 exit_info;
                u32 bytes;