public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] KVM: Fix the indentation to match coding style
@ 2020-05-18  1:31 Haiwei Li
  2020-05-18  3:00 ` Wanpeng Li
  2020-05-18 10:55 ` Paolo Bonzini
  0 siblings, 2 replies; 3+ messages in thread
From: Haiwei Li @ 2020-05-18  1:31 UTC (permalink / raw)
  To: pbonzini@redhat.com, Sean Christopherson, vkuznets@redhat.com,
	wanpengli, jmattson@google.com, joro@8bytes.org,
	tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, hpa
  Cc: x86@kernel.org, kvm, linux-kernel@vger.kernel.org

From: Haiwei Li <lihaiwei@tencent.com>

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>
---
  arch/x86/kvm/x86.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 471fccf..446f747 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -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);
--
1.8.3.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-18 10:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-18  1:31 [PATCH] KVM: Fix the indentation to match coding style Haiwei Li
2020-05-18  3:00 ` Wanpeng Li
2020-05-18 10:55 ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox