Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp313043ima; Wed, 24 Oct 2018 01:30:37 -0700 (PDT) X-Google-Smtp-Source: AJdET5dgB4DLxaVeiL1pRUQyvEQ/LGEGE2mFcsjTnKP10lvrh3npd3OrA6wRVb1C0P4PGRGXO1PK X-Received: by 2002:a62:5887:: with SMTP id m129-v6mr1722509pfb.254.1540369837290; Wed, 24 Oct 2018 01:30:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540369837; cv=none; d=google.com; s=arc-20160816; b=kZdev3L6tIHaBuDimRvqiFCNAr4vmLh4hEEz9/MaIW3BL9zCEKF2bBvJ31+FVvU128 PqTiR4Rt1Q9xkFcl9ZqmruII/YY51a7xDwIF9G5Fb/aAUPtxbtqHFuP89Z7hfw8GnMc1 OLqC5tLDtvO8mSkP0zqiOJqV4y/iwZx1ENPMDeHXAHKWfwc8wcCwioK4MmmJilAUy4YB y6OrScu0A7vIkedKQi7ID88h8uN2qkcAeWOlUAUOyZC3FtkftoOnPSKgYhN/rLC5q0Ha LRJngEAWZyPioDZugP+Cx+V2UntPBL3QDGN0sPto7MAGB4nylGHZJTfzHlozWEIFV+8I D/uA== 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=Ia1bA2EwUCIicadXyP2boItppd2fNM58Z5bAjO88G64=; b=vREL5vFx8YqlO++aiIRHPvWYhvaUzf3ZP5vrfo+/FKGWvfjbEfC3ajBeXqbVfceXc/ qdUTSXyLe8rNxDPKNP4NgQjDnh+sgP5AKhd6QZzZt8MgibOJ6s9hwWWsq52zapNRnxGD yH0DgQ8DfYPB1gDP0Q7qq0bt6dfTGpARuyd/v8zWHPIEuWfz8Ll72tBNe0H7HorcpxrN ijluqdtSW3WsR7Lt0lFFC6VxhSCyv2MZsLiTNoBi1sSDBR1u4k7Op+tmkOYoY3ZpPaD0 LWqW4ruJhRonhbLBWNKZGjKCEL0PJFTfnHgFi6gnKl07c+d8v7KazFIjnHazLYUk9Ynk iDMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.de header.s=amazon201209 header.b=IUzGmazB; 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 l2-v6si3831026pgc.196.2018.10.24.01.30.21; Wed, 24 Oct 2018 01:30:37 -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=IUzGmazB; 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 S1727465AbeJXQ4x (ORCPT + 99 others); Wed, 24 Oct 2018 12:56:53 -0400 Received: from smtp-fw-33001.amazon.com ([207.171.190.10]:43720 "EHLO smtp-fw-33001.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727356AbeJXQ4w (ORCPT ); Wed, 24 Oct 2018 12:56:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.de; i=@amazon.de; q=dns/txt; s=amazon201209; t=1540369783; x=1571905783; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Ia1bA2EwUCIicadXyP2boItppd2fNM58Z5bAjO88G64=; b=IUzGmazBE2smmVykcUPZXSByg+CdWDh9Bo1SNCLjZ9Cd6N3CCNxvJmkW d9PyEC6NSr9nYajrP1FsqxXD9NGIf0JVhNSrUS6dXKFIvUT9LiGoPOpVA 17R8psUJoeSfHM7wWlJcMy8G1D1mjHZFWvfCQf33db0PT+sjp1PiW5CC4 M=; X-IronPort-AV: E=Sophos;i="5.54,419,1534809600"; d="scan'208";a="760955894" Received: from sea3-co-svc-lb6-vlan2.sea.amazon.com (HELO email-inbound-relay-2a-c5104f52.us-west-2.amazon.com) ([10.47.22.34]) by smtp-border-fw-out-33001.sea14.amazon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 24 Oct 2018 08:29:41 +0000 Received: from u54ee758033e858cfa736.ant.amazon.com (pdx2-ws-svc-lb17-vlan2.amazon.com [10.247.140.66]) by email-inbound-relay-2a-c5104f52.us-west-2.amazon.com (8.14.7/8.14.7) with ESMTP id w9O8TcJ7080732 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 24 Oct 2018 08:29:39 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 w9O8Tbe2030182; Wed, 24 Oct 2018 10:29:37 +0200 Received: (from jsteckli@localhost) by u54ee758033e858cfa736.ant.amazon.com (8.15.2/8.15.2/Submit) id w9O8Tbjs030181; Wed, 24 Oct 2018 10:29:37 +0200 From: Julian Stecklina To: kvm@vger.kernel.org, Paolo Bonzini Cc: Julian Stecklina , js@alien8.de, linux-kernel@vger.kernel.org Subject: [PATCH 3/4] kvm, vmx: fix __invvpid style Date: Wed, 24 Oct 2018 10:28:58 +0200 Message-Id: <16eda1c463f357607b6d7ae5cfe967055fc17ec5.1540369608.git.jsteckli@amazon.de> X-Mailer: git-send-email 2.7.4 In-Reply-To: <09986c98c9655f1542768ecfda644ac821e67a57.1540369608.git.jsteckli@amazon.de> References: <09986c98c9655f1542768ecfda644ac821e67a57.1540369608.git.jsteckli@amazon.de> In-Reply-To: <09986c98c9655f1542768ecfda644ac821e67a57.1540369608.git.jsteckli@amazon.de> References: <09986c98c9655f1542768ecfda644ac821e67a57.1540369608.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 | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 9225099..82cfb909 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c @@ -2079,17 +2079,17 @@ static int __find_msr_index(struct vcpu_vmx *vmx, u32 msr) static inline void __invvpid(int ext, u16 vpid, gva_t gva) { - struct { - u64 vpid : 16; - u64 rsvd : 48; - u64 gva; - } operand = { vpid, 0, gva }; - bool error; - - asm volatile (__ex(ASM_VMX_INVVPID) CC_SET(na) - : CC_OUT(na) (error) : "a"(&operand), "c"(ext) - : "memory"); - BUG_ON(error); + struct { + u64 vpid : 16; + u64 rsvd : 48; + u64 gva; + } operand = { vpid, 0, gva }; + bool error; + + asm volatile (__ex(ASM_VMX_INVVPID) CC_SET(na) + : CC_OUT(na) (error) : "a"(&operand), "c"(ext) + : "memory"); + BUG_ON(error); } static inline void __invept(int ext, u64 eptp, gpa_t gpa) -- 2.7.4