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: 10193667 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 83F64603EE for ; Wed, 31 Jan 2018 09:39:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 65F28201BC for ; Wed, 31 Jan 2018 09:39:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5A607285FC; Wed, 31 Jan 2018 09:39:16 +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=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 37C55201BC for ; Wed, 31 Jan 2018 09:39:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753935AbeAaJjM (ORCPT ); Wed, 31 Jan 2018 04:39:12 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:55303 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753760AbeAaJfu (ORCPT ); Wed, 31 Jan 2018 04:35:50 -0500 Received: by mail-wm0-f66.google.com with SMTP id 143so6646771wma.5 for ; Wed, 31 Jan 2018 01:35:49 -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=KZYqp0orWcntIk6UcckGGqrcaHTceOH0mgOlMCeFOCPsIv+HBLmkmgPhIG0Nze3Yhs Defr4lI7/SV2r58TjLwqBjS7+lO+Zmu6NCdXQYhAjYh+G5eQ45iVIBo52q/yOzXMoiNn sSCkLZa658GvoAwnzIKpNFdEYsWrj1gPwkJ4GGZBVtEhcnytaSmrLH2VQPN38PFGl1bn izJamonnqA8MEwz7oieiXR39IMiN7j63L5jx6NIn8qYpaxZ1NE8+Nk673/PwEvEsHhQ/ 2f0SkK+jezTFMpHvovbUlDZq6fUxZJe3ti6INgh0NfwrIpS9u5ND3GO+8MPKikdpyRsd x2pw== X-Gm-Message-State: AKwxytfBSqONacpD48YS+FkLKLk3JxLRcldEAoaIvhxlYaAY30RuHD8T 6ydAVi8qxqiOpnbdvwLX1iE2LQ== 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?= Cc: linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, Marc Zyngier , Luis de Bethencourt , Christoffer Dall 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> Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.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)