diff mbox series

KVM: x86: fix mmu_set_spte coding style warning

Message ID 20200219125051.49529-1-zhuyan34@huawei.com (mailing list archive)
State New, archived
Headers show
Series KVM: x86: fix mmu_set_spte coding style warning | expand

Commit Message

Yan Zhu Feb. 19, 2020, 12:50 p.m. UTC
checkpatch.pl warns:

ERROR: code indent should use tabs where possible
+^I^I       ^Ibool speculative, bool host_writable)$

WARNING: please, no space before tabs
+^I^I       ^Ibool speculative, bool host_writable)$

This warning occurs because there is a space before the tab on this line.
Remove them so that the indentation is consistent with the Linux kernel
coding style

Fixes: 61524f1bccc0 ("KVM: x86: extend usage of RET_MMIO_PF_* constants")
Signed-off-by: Yan Zhu <zhuyan34@huawei.com>
---
 arch/x86/kvm/mmu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
index 3a281a2decde..0d403f41afc5 100644
--- a/arch/x86/kvm/mmu.c
+++ b/arch/x86/kvm/mmu.c
@@ -2682,7 +2682,7 @@  static int set_spte(struct kvm_vcpu *vcpu, u64 *sptep,
 
 static int mmu_set_spte(struct kvm_vcpu *vcpu, u64 *sptep, unsigned pte_access,
 			int write_fault, int level, gfn_t gfn, kvm_pfn_t pfn,
-		       	bool speculative, bool host_writable)
+			bool speculative, bool host_writable)
 {
 	int was_rmapped = 0;
 	int rmap_count;