lkml.org 
[lkml]   [2021]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
Subject[PATCH] KVM: x86: fix code indentation issues
From
This fixes the following checkpatch.pl errors:

ERROR: code indent should use tabs where possible
+ vcpu->arch.pio.count = 0;$

ERROR: code indent should use tabs where possible
+ return ret;$

Fixes: 0d33b1baeb6c ("KVM: x86: leave vcpu->arch.pio.count alone in emulator_pio_in_out")
Signed-off-by: Carlos Llamas <cmllamas@google.com>
---
arch/x86/kvm/x86.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index b26647a5ea22..ff04b78ece5f 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -6980,9 +6980,9 @@ static int emulator_pio_out(struct kvm_vcpu *vcpu, int size,
trace_kvm_pio(KVM_PIO_OUT, port, size, count, vcpu->arch.pio_data);
ret = emulator_pio_in_out(vcpu, size, port, count, false);
if (ret)
- vcpu->arch.pio.count = 0;
+ vcpu->arch.pio.count = 0;

- return ret;
+ return ret;
}

static int emulator_pio_out_emulated(struct x86_emulate_ctxt *ctxt,
--
2.33.1.1089.g2158813163f-goog
\
 
 \ /
  Last update: 2021-10-29 21:11    [W:0.025 / U:0.776 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site