Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp887425imd; Thu, 1 Nov 2018 07:08:17 -0700 (PDT) X-Google-Smtp-Source: AJdET5e1LyXexJ/yRqQrtcaLjMV7CNxoIvRzcZOiJNg/QM2vLvnwCM+zk00SECL23A3a7/jOMSyE X-Received: by 2002:a63:d40a:: with SMTP id a10mr7171131pgh.394.1541081297395; Thu, 01 Nov 2018 07:08:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541081297; cv=none; d=google.com; s=arc-20160816; b=zeHt9La9XcCl/H63jee79zZH+ZJZZLiPr85RsGkPKqhPfgUVI94cFbwivk1ggf/dB9 aEvc4T+fECi7Ceeuo2j5CqqQZA8U4PiyFORlDiNI8dJJvadinfs6rjx0myiYLuinuMYa EuMXKifYuZd+C1h9kKxo9+g/Y5bQ/2lT1b/ca10m4YUuEGyu25mqzGdQqKAlAAobunMJ DyoCOlWwpn0T7a+ieMmPxX6+5rc5dLBR8+Hg1DF+lL/X/YHWM5Y3YPJas0RyTfxWc+Ph VuUdThHt6L7LjRAndVLo6EgrPjFhCKvx0B9eJ+/oq8IbhuSldC2+fHgLdfDIPQ5kTC/G vj2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=aew17NRwZ5W6QaCWBPYUd4gtbOFnX3d1NGvN22K8BtI=; b=YBVkI3q/XMF7z4Zz+OOXMpCNYIv7v+NSEEsXTVmtElFMr+8XgjHMc1rL97tgpOVVZo V9GQR4TCkJ1hru4y8sAnb+EjCzTJ2t5acvyDuv+O1bLCF/50iqmLxjl96zxMMT0iG8CH tyOfXn9WRa0H8RZjq6X8RzkHK2O46UW3aRIILZokFG8veH+0Lbhyb5kie/yzjLprXOq5 boYRYiYwJY9tpS9qYUVi2eOljBKy1GbPrpmIDF7Ngzt6O2KYtRgZVu3iupavI9OsZDBT GVDO5x1+ylznrDtW2sOcXErUERn4T5SDcdrPE1E++GtFt9ZKhSaUjEAOF3itfSkKz8P3 3jvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.de header.s=amazon201209 header.b=Je2VcAAg; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k36-v6si15098565pgb.20.2018.11.01.07.08.01; Thu, 01 Nov 2018 07:08:17 -0700 (PDT) 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; dkim=pass header.i=@amazon.de header.s=amazon201209 header.b=Je2VcAAg; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728782AbeKAWqe (ORCPT + 99 others); Thu, 1 Nov 2018 18:46:34 -0400 Received: from smtp-fw-2101.amazon.com ([72.21.196.25]:22182 "EHLO smtp-fw-2101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728693AbeKAWqc (ORCPT ); Thu, 1 Nov 2018 18:46:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.de; i=@amazon.de; q=dns/txt; s=amazon201209; t=1541079811; x=1572615811; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=aew17NRwZ5W6QaCWBPYUd4gtbOFnX3d1NGvN22K8BtI=; b=Je2VcAAgDKuvRVH9Q2pCLxT91fG/tUe/BHXHwRuv7TNvURX+admg9KYG c5ivCp1yD3dy7LLd9IWGni6F5B6Pv91t70DMc5dvoKC3ivDSZSkflJJZ5 jWOmbQm8rzK2jANo2nyFGIxsuBdBbo/3O9EYzt6e73sfVrdIDoI8YsYLH Y=; X-IronPort-AV: E=Sophos;i="5.54,452,1534809600"; d="scan'208";a="702530358" Received: from iad6-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-1d-38ae4ad2.us-east-1.amazon.com) ([10.124.125.2]) by smtp-border-fw-out-2101.iad2.amazon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 01 Nov 2018 13:43:30 +0000 Received: from u54ee758033e858cfa736.ant.amazon.com (iad7-ws-svc-lb50-vlan3.amazon.com [10.0.93.214]) by email-inbound-relay-1d-38ae4ad2.us-east-1.amazon.com (8.14.7/8.14.7) with ESMTP id wA1DhPh6069628 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 1 Nov 2018 13:43:27 GMT Received: from u54ee758033e858cfa736.ant.amazon.com (localhost [127.0.0.1]) by u54ee758033e858cfa736.ant.amazon.com (8.15.2/8.15.2/Debian-3) with ESMTP id wA1DhOE8004823; Thu, 1 Nov 2018 14:43:24 +0100 Received: (from jsteckli@localhost) by u54ee758033e858cfa736.ant.amazon.com (8.15.2/8.15.2/Submit) id wA1DhOMo004822; Thu, 1 Nov 2018 14:43:24 +0100 From: Julian Stecklina To: kvm@vger.kernel.org, Paolo Bonzini Cc: Julian Stecklina , Julian Stecklina , linux-kernel@vger.kernel.org Subject: [PATCH v3 3/3] kvm, vmx: fix __invvpid style Date: Thu, 1 Nov 2018 14:42:49 +0100 Message-Id: <53059e524a207102f567277ceee57638224b5101.1541079752.git.jsteckli@amazon.de> X-Mailer: git-send-email 2.7.4 In-Reply-To: <0b290ddce11ab78951592b9435469cd16773629c.1541079752.git.jsteckli@amazon.de> References: <0b290ddce11ab78951592b9435469cd16773629c.1541079752.git.jsteckli@amazon.de> In-Reply-To: <0b290ddce11ab78951592b9435469cd16773629c.1541079752.git.jsteckli@amazon.de> References: <0b290ddce11ab78951592b9435469cd16773629c.1541079752.git.jsteckli@amazon.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The code violated the coding style. Fixed by using tabs instead of spaces. There are only whitespace changes here. Signed-off-by: Julian Stecklina Reviewed-by: Jan H. Schönherr Reviewed-by: Konrad Jan Miller --- arch/x86/kvm/vmx.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 8ebd41d..9c2e4b2 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c @@ -2100,16 +2100,16 @@ static int __find_msr_index(struct vcpu_vmx *vmx, u32 msr) static inline void __invvpid(unsigned long ext, u16 vpid, gva_t gva) { - struct { - u64 vpid : 16; - u64 rsvd : 48; - u64 gva; - } operand = { vpid, 0, gva }; - bool error; - - asm volatile (__ex("invvpid %2, %1") CC_SET(na) - : CC_OUT(na) (error) : "r"(ext), "m"(operand)); - BUG_ON(error); + struct { + u64 vpid : 16; + u64 rsvd : 48; + u64 gva; + } operand = { vpid, 0, gva }; + bool error; + + asm volatile (__ex("invvpid %2, %1") CC_SET(na) + : CC_OUT(na) (error) : "r"(ext), "m"(operand)); + BUG_ON(error); } static inline void __invept(unsigned long ext, u64 eptp, gpa_t gpa) -- 2.7.4