KVM: Fix the indentation to match coding style
authorHaiwei Li <lihaiwei@tencent.com>
Mon, 18 May 2020 01:31:38 +0000 (09:31 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 27 May 2020 17:11:09 +0000 (13:11 -0400)
There is a bad indentation in next&queue branch. The patch looks like
fixes nothing though it fixes the indentation.

Before fixing:

                 if (!handle_fastpath_set_x2apic_icr_irqoff(vcpu, data)) {
                         kvm_skip_emulated_instruction(vcpu);
                         ret = EXIT_FASTPATH_EXIT_HANDLED;
                }
                 break;
         case MSR_IA32_TSCDEADLINE:

After fixing:

                 if (!handle_fastpath_set_x2apic_icr_irqoff(vcpu, data)) {
                         kvm_skip_emulated_instruction(vcpu);
                         ret = EXIT_FASTPATH_EXIT_HANDLED;
                 }
                 break;
         case MSR_IA32_TSCDEADLINE:

Signed-off-by: Haiwei Li <lihaiwei@tencent.com>
Message-Id: <2f78457e-f3a7-3bc9-e237-3132ee87f71e@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c

index 43f9b63399f00f681066df3b2b4ba6a61acea17f..375d3fc0a4a6f25de649dedb865e176a1c58f9a5 100644 (file)
@@ -1631,7 +1631,7 @@ fastpath_t handle_fastpath_set_msr_irqoff(struct kvm_vcpu *vcpu)
                if (!handle_fastpath_set_x2apic_icr_irqoff(vcpu, data)) {
                        kvm_skip_emulated_instruction(vcpu);
                        ret = EXIT_FASTPATH_EXIT_HANDLED;
-               }
+               }
                break;
        case MSR_IA32_TSCDEADLINE:
                data = kvm_read_edx_eax(vcpu);