From patchwork Wed Jan 31 09:35:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoffer Dall X-Patchwork-Id: 10193763 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8154660380 for ; Wed, 31 Jan 2018 09:48:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6D45228473 for ; Wed, 31 Jan 2018 09:48:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 60A182860B; Wed, 31 Jan 2018 09:48:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 579C128473 for ; Wed, 31 Jan 2018 09:48:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=dTwoWPJ6/SMh7eeoUaW+0gCHWQN12r60g0qoCdvvC78=; b=ShKVrP0MofcrdKk7cnH1IOIsxO VXtoc0Fv+Z8VLw9hzbl033So7QmRdtxT9FnSzOdDqxB0fS4yVTssm3pwV8REZY3GAZ1J54lOINIZx tv7lnXIY8q0XthokxDRS4cpGRRvTNo6EBWJoufAAeQCy5/IUSMjE+tB4Bz+SZUMZA70OsKNlxSCrG tJ9WTSeAN60pJu9aCkS7tA1NGDbFoJHrWfUGocHyPI90MWpDSEbRyCM4dUGiXUdvG3AVz4Yz7xo33 aZ0MyA1xfsF2+/r5t1m/bEGQST7qa3cPWYnC7kRYHTFkc+anB850CaofVBiZPpW+kckOQwniU3y6f 6YNfGncQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1egp09-0007sK-D3; Wed, 31 Jan 2018 09:48:21 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1egoo6-0005rv-KX for linux-arm-kernel@lists.infradead.org; Wed, 31 Jan 2018 09:36:06 +0000 Received: by mail-wm0-x241.google.com with SMTP id i186so6668628wmi.4 for ; Wed, 31 Jan 2018 01:35:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=dnQpTLDueknxEF1ASG6LEASFVsQ4NVnRZOk2av2ikBk=; b=dYnqzchpbHK2JaKYFpzpGk6ICrequXEKKyOqniSYG0sVlylEy3chgiwoiLDRqQO/CV PVS1k4gf/8UVmvc/TSYpnAOzJOC2aD6bNHh1fKnLjr3mhvjrMj7C0YjLpA8WNll+OAdC hOM+ujR6s/jn79ffmO3G0KgZU3B6ohjMlrpLM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=dnQpTLDueknxEF1ASG6LEASFVsQ4NVnRZOk2av2ikBk=; b=c+ARXhDVXMK17FDnIjQKloUDm3rCwZG7Z0eiJSFp2mJDHU22goZO5b1MAOIS370MgU NtxBOBm9UMJBblpf+JJCUkYT7FT93jU2MktLYfRtANKV6WF/DelaFgbB6r2diugKvfN+ jofBvmTUkaVAlk7ptNdMEWZEJC35kaSvtYfzhL2yjV9q2gc8VDnNJ7a3PQ8Osk6N4pbu WlphZSYSr/5aB3tpbgEOE4GdjIMTe8LF4NDYIW1d2HvQH5P3BM3m5XCDpMvc3G+aL5yV dWNIc8DcYo4COvS5UJJqBP65DxUuzwPs3pP1Eo4uGhghaQbbXLSFrv/uxHmoygS08xoT rMaA== X-Gm-Message-State: AKwxytfvW/DraAnys8MqbN2a/v8h51E2l3l/rdFp6wQtYq1Pxa4XP/do TOWaO1WAGe49Xn6hiBvyJfNbbZy7QQ0= X-Google-Smtp-Source: AH8x226NKQd8uFHnOHZFyY9J6ee6hLg525yCbMr4GjAGh9d/LkNkL/z+MhsosyT0+LAFCx/DDT/CDA== X-Received: by 10.80.170.69 with SMTP id p5mr57338588edc.10.1517391348939; Wed, 31 Jan 2018 01:35:48 -0800 (PST) Received: from localhost.localdomain (x50d2404e.cust.hiper.dk. [80.210.64.78]) by smtp.gmail.com with ESMTPSA id z2sm10247837edc.50.2018.01.31.01.35.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 31 Jan 2018 01:35:48 -0800 (PST) From: Christoffer Dall To: Paolo Bonzini , =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= Subject: [PULL 25/28] KVM: arm/arm64: Fix trailing semicolon Date: Wed, 31 Jan 2018 10:35:04 +0100 Message-Id: <20180131093507.22219-26-christoffer.dall@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180131093507.22219-1-christoffer.dall@linaro.org> References: <20180131093507.22219-1-christoffer.dall@linaro.org> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kvm@vger.kernel.org, Luis de Bethencourt , Marc Zyngier , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, Christoffer Dall MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Luis de Bethencourt The trailing semicolon is an empty statement that does no operation. Removing it since it doesn't do anything. Signed-off-by: Luis de Bethencourt Signed-off-by: Christoffer Dall --- arch/arm/include/asm/kvm_emulate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/kvm_emulate.h b/arch/arm/include/asm/kvm_emulate.h index 3d22eb87f919..9003bd19cb70 100644 --- a/arch/arm/include/asm/kvm_emulate.h +++ b/arch/arm/include/asm/kvm_emulate.h @@ -131,7 +131,7 @@ static inline bool mode_has_spsr(struct kvm_vcpu *vcpu) static inline bool vcpu_mode_priv(struct kvm_vcpu *vcpu) { unsigned long cpsr_mode = vcpu->arch.ctxt.gp_regs.usr_regs.ARM_cpsr & MODE_MASK; - return cpsr_mode > USR_MODE;; + return cpsr_mode > USR_MODE; } static inline u32 kvm_vcpu_get_hsr(const struct kvm_vcpu *vcpu)