Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp553555ybv; Wed, 19 Feb 2020 04:51:25 -0800 (PST) X-Google-Smtp-Source: APXvYqyq5NzgWYttEmVayjJwEC7YrVj3ua3YvqUKiJC9hu/eeO+bfEml2tuZsFsbAcYCVIonAIFJ X-Received: by 2002:a54:4106:: with SMTP id l6mr4358494oic.76.1582116685163; Wed, 19 Feb 2020 04:51:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582116685; cv=none; d=google.com; s=arc-20160816; b=i7FGd3c9Fa0aA9rTLzNGRizr+B9Q8zhQbeNjku95enc0119WEp14rISQ69obzHNSCN tcFXxYB+dxoChu1l/lmvIZlXE04Kp10EpdIEjzDDESZx/6gowI0H/VeOutbdmtHX+ewU xU3y5Lz6GEU4ITtoEW8u5c4PODDt+dQ8P8woHZIP4GDfANiqXiuV1Qhy4hXiTTmuWbY7 GLn4HrEVGpDcN1BJM7aGYyC+kzXZPcpO+JdyfdeeG70fC/MyHff8d2UVGPvzMwd8am7e 3xcTjjhlr80Ktpxh6ZO6i142L3edZgIDdVXdAu+GQyfK8wTJosQ0FsjA82QVvS+VK3IK 7Jvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=slQdgnwscovhnYzzh3wwKwrAI2So63ymgUIw7xFECUs=; b=MyyG7/2YcJxsrn0F4bmJ5x+XRemM6mhVWoAVy5jt95KVQmzm0VheQuFGW+BaNWI9d1 ffxVlPVx26ueed6TOl50yT5wfVIYXMMJ259aR7TJKC7QEQKNVrxWzLtW9cEfa/V4kRjS ce7ZseULLOLIEwiigzmApcNN7x3xS+Sbo2P41RtjQxuSGtc83uLGUndsy4b1r26FRFPV yUbgMNuJQ1npXwQ1zfTmp9IrfqUmntO5WYsv/J1OzwX1048oA57EM56ipeMYnn8tkCls Lua/OZmIdJOlntgPV5BCSbDkZFQugDDMrEnBBF2wsukVUpMalM1OR/5cuofRWMnxMgQu BXSA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i6si1181750otj.24.2020.02.19.04.51.12; Wed, 19 Feb 2020 04:51:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727662AbgBSMvE (ORCPT + 99 others); Wed, 19 Feb 2020 07:51:04 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:10644 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727103AbgBSMvE (ORCPT ); Wed, 19 Feb 2020 07:51:04 -0500 Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id ABEEFDECA7019B363D4E; Wed, 19 Feb 2020 20:51:00 +0800 (CST) Received: from host-suse12sp4.huawei.com (10.67.133.175) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.439.0; Wed, 19 Feb 2020 20:50:51 +0800 From: Yan Zhu To: , CC: , , , , , , Subject: [PATCH] KVM: x86: fix mmu_set_spte coding style warning Date: Wed, 19 Feb 2020 20:50:51 +0800 Message-ID: <20200219125051.49529-1-zhuyan34@huawei.com> X-Mailer: git-send-email 2.12.3 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.133.175] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- arch/x86/kvm/mmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.12.3