Received: by 10.223.176.46 with SMTP id f43csp4286794wra; Tue, 23 Jan 2018 07:12:31 -0800 (PST) X-Google-Smtp-Source: AH8x227q7wUnj+0K7viOE1b3tV8o3MtK3l6FOyyOjlx2elDuLoOLV4VwRPDTnt+4XfWo0Gb35Rz+ X-Received: by 10.99.124.85 with SMTP id l21mr9038607pgn.401.1516720350913; Tue, 23 Jan 2018 07:12:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516720350; cv=none; d=google.com; s=arc-20160816; b=ObkYiiZ76cBza0xKUd0lxUeMRdHNyBRmFIARBjptpSm4MLQCyB0yu7aCMJK8qMcukr 7xNqt9PtP8QjnzaDiymzi4I0p97QN36tAFcwfdEbL3evVIINF5hEWtQjVaTckk1LaUg4 ZkO7koQED/3kej0HQ0ZfzKMCsgjZbnkkU272do2ApXnSpQ5h/HKjGUMGBIaXfzIE69ry hI0JqqzxjOuAHh7rUUS2WZis6+Bf5fDfQrtrJsmr0ffUNHi5zacWigPqAsFa1hs7eQ5u 9KMHpBfMN4tzYPgY1mEfD1iJDTqr08xV8LLytObH4Ob8EJ0BTY0ON2OKrgs2BxUcwj3u oQIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=Gox9Hp+MZV0zbZHdfUZg+LxNOeVL4XkvOzbU+knZxJU=; b=UUtMLPn+MMN8uOex9Nw9pbvWhfltwRJoo6JdNEFY1PmiVFG0r7GdRTA6UR9+exRvEd k9Gd4UmQUA2mKoXzhv23e/OGkacmPVvFYNZoPCXSFDFHDh3fbIRd2p5U8S3zeMDxugQr o3C7fOXcP4Cw6Sc++FFU7AUIKURNC8h8V4eSFJt/9sBOHPj17zTZ7YA3RQ/oMFb1/+oM KdvTIRsPlhlMlFoe4q6i48ferdGDqS+8tnBsnz3wd3dOypfp/LuVU9hg6cnC3puDfSvA srf5+fwffpOZBfvUW/G45mYQQi4gR9tYBogm7CGwl95YLeVosuqKHu8q2VMItoyZYghH ZlEA== 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 n13si6795856pgc.95.2018.01.23.07.12.16; Tue, 23 Jan 2018 07:12:30 -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 S1751290AbeAWPLu (ORCPT + 99 others); Tue, 23 Jan 2018 10:11:50 -0500 Received: from smtp-fw-33001.amazon.com ([207.171.190.10]:14584 "EHLO smtp-fw-33001.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750994AbeAWPLs (ORCPT ); Tue, 23 Jan 2018 10:11:48 -0500 X-IronPort-AV: E=Sophos;i="5.46,401,1511827200"; d="scan'208";a="716813093" Received: from sea3-co-svc-lb6-vlan2.sea.amazon.com (HELO email-inbound-relay-1d-37fd6b3d.us-east-1.amazon.com) ([10.47.22.34]) by smtp-border-fw-out-33001.sea14.amazon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 23 Jan 2018 15:11:24 +0000 Received: from uecb1d7364e75593fe229.ant.amazon.com (iad1-ws-svc-lb91-vlan2.amazon.com [10.0.103.146]) by email-inbound-relay-1d-37fd6b3d.us-east-1.amazon.com (8.14.7/8.14.7) with ESMTP id w0NFBHwP073115 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 23 Jan 2018 15:11:19 GMT Received: from uecb1d7364e75593fe229.ant.amazon.com (localhost [127.0.0.1]) by uecb1d7364e75593fe229.ant.amazon.com (8.15.2/8.15.2/Debian-3) with ESMTP id w0NFBGAB019338; Tue, 23 Jan 2018 15:11:16 GMT Received: (from luisbg@localhost) by uecb1d7364e75593fe229.ant.amazon.com (8.15.2/8.15.2/Submit) id w0NFBFgX019265; Tue, 23 Jan 2018 15:11:15 GMT From: Luis de Bethencourt To: linux-kernel@vger.kernel.org Cc: Joe Perches , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, Russell King , Marc Zyngier , Christoffer Dall , Luis de Bethencourt Subject: [PATCH] KVM: arm/arm64: Fix trailing semicolon Date: Tue, 23 Jan 2018 15:11:14 +0000 Message-Id: <20180123151114.18429-1-luisbg@kernel.org> X-Mailer: git-send-email 2.15.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- Hi, After fixing the same thing in drivers/staging/rtl8723bs/, Joe Perches suggested I fix it treewide [0]. Best regards Luis [0] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115410.html [1] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115390.html 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) -- 2.15.1