From patchwork Tue Jul 25 10:54:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Cooper X-Patchwork-Id: 9861765 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 BAE44602B1 for ; Tue, 25 Jul 2017 10:56:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9A2482861B for ; Tue, 25 Jul 2017 10:56:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8ED7428623; Tue, 25 Jul 2017 10:56:41 +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, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 40D442861B for ; Tue, 25 Jul 2017 10:56:40 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZxTv-0005Dt-MX; Tue, 25 Jul 2017 10:54:27 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZxTt-0005Di-IO for xen-devel@lists.xen.org; Tue, 25 Jul 2017 10:54:25 +0000 Received: from [85.158.139.211] by server-10.bemta-5.messagelabs.com id BC/5C-01732-06327795; Tue, 25 Jul 2017 10:54:24 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrFLMWRWlGSWpSXmKPExsXitHSDvW6Ccnm kwds5whZLPi5mcWD0OLr7N1MAYxRrZl5SfkUCa8bM5YuZCo6JVdzdcIitgfGJYBcjJ4eEgL/E i3dXWEBsNgF9id0vPjGB2CIC6hKnOy6ydjFycTALPGGSuPFoBjtIQlhAT2LvyYmsIDaLgKrEk uaZYDavgKfEyWPPmSGGykmcP/4TzBYSUJO41n+JHaJGUOLkzCdgy5gFJCQOvnjBPIGRexaS1C wkqQWMTKsYNYpTi8pSi3SNLPWSijLTM0pyEzNzdA0NTPVyU4uLE9NTcxKTivWS83M3MQLDoZ6 BgXEH4+UtfocYJTmYlER503eVRQrxJeWnVGYkFmfEF5XmpBYfYpTh4FCS4BVWKo8UEixKTU+t SMvMAQYmTFqCg0dJhJcVJM1bXJCYW5yZDpE6xajL8WrC/29MQix5+XmpUuK8BxSBigRAijJK8 +BGwKLkEqOslDAvIwMDgxBPQWpRbmYJqvwrRnEORiVhXjGQVTyZeSVwm14BHcEEdMScGaUgR5 QkIqSkGhi10nqF/x4Tf7tE6fXUH5qyl9+WcCosfOC9QkMyM+ueiUP7dNWbO49M2cb5MvyiFH9 jOQf3k/viEfOiVTO+ruNseaOaHdlvEbqob+784LWFzV5V0u/CdmoeDugSWrRpduimD3O25k1K /evmvLw14Ah73e38J96Vc8K5e9Zfu6ybyfh5Pc/ai4pKLMUZiYZazEXFiQAJ+jYTjQIAAA== X-Env-Sender: prvs=3721034a5=Andrew.Cooper3@citrix.com X-Msg-Ref: server-9.tower-206.messagelabs.com!1500980062!104512124!1 X-Originating-IP: [66.165.176.63] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni42MyA9PiAzMDYwNDg=\n, received_headers: No Received headers X-StarScan-Received: X-StarScan-Version: 9.4.25; banners=-,-,- X-VirusChecked: Checked Received: (qmail 11125 invoked from network); 25 Jul 2017 10:54:24 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-9.tower-206.messagelabs.com with RC4-SHA encrypted SMTP; 25 Jul 2017 10:54:24 -0000 X-IronPort-AV: E=Sophos;i="5.40,411,1496102400"; d="scan'208";a="441186276" From: Andrew Cooper To: Xen-devel Date: Tue, 25 Jul 2017 11:54:20 +0100 Message-ID: <1500980060-22687-1-git-send-email-andrew.cooper3@citrix.com> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Cc: Stefano Stabellini , Wei Liu , George Dunlap , Andrew Cooper , Ian Jackson , Tim Deegan , Julien Grall , Jan Beulich Subject: [Xen-devel] [PATCH] xen: Drop repeated semicolons X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP No functional change. Signed-off-by: Andrew Cooper Acked-by: Julien Grall Reviewed-by: Wei Liu Acked-by: George Dunlap --- CC: George Dunlap CC: Ian Jackson CC: Jan Beulich CC: Konrad Rzeszutek Wilk CC: Stefano Stabellini CC: Julien Grall CC: Tim Deegan CC: Wei Liu --- xen/arch/arm/mm.c | 2 +- xen/arch/x86/hvm/rtc.c | 6 +++--- xen/common/domctl.c | 2 +- xen/common/schedule.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/xen/arch/arm/mm.c b/xen/arch/arm/mm.c index 98260f6..a810a05 100644 --- a/xen/arch/arm/mm.c +++ b/xen/arch/arm/mm.c @@ -278,7 +278,7 @@ static inline lpae_t mfn_to_xen_entry(mfn_t mfn, unsigned attr) .contig = 0, /* Assume non-contiguous */ .xn = 1, /* No need to execute outside .text */ .avail = 0, /* Reference count for domheap mapping */ - }};; + }}; /* * Setting the User bit is strange, but the ATS1H[RW] instructions * don't seem to work otherwise, and since we never run on Xen diff --git a/xen/arch/x86/hvm/rtc.c b/xen/arch/x86/hvm/rtc.c index 4d792a4..bcfa169 100644 --- a/xen/arch/x86/hvm/rtc.c +++ b/xen/arch/x86/hvm/rtc.c @@ -730,9 +730,9 @@ void rtc_migrate_timers(struct vcpu *v) if ( v->vcpu_id == 0 ) { - migrate_timer(&s->update_timer, v->processor);; - migrate_timer(&s->update_timer2, v->processor);; - migrate_timer(&s->alarm_timer, v->processor);; + migrate_timer(&s->update_timer, v->processor); + migrate_timer(&s->update_timer2, v->processor); + migrate_timer(&s->alarm_timer, v->processor); } } diff --git a/xen/common/domctl.c b/xen/common/domctl.c index dfa3df9..d80488b 100644 --- a/xen/common/domctl.c +++ b/xen/common/domctl.c @@ -703,7 +703,7 @@ long do_domctl(XEN_GUEST_HANDLE_PARAM(xen_domctl_t) u_domctl) if ( op->cmd == XEN_DOMCTL_setvcpuaffinity ) { cpumask_var_t new_affinity, old_affinity; - cpumask_t *online = cpupool_domain_cpumask(v->domain);; + cpumask_t *online = cpupool_domain_cpumask(v->domain); /* * We want to be able to restore hard affinity if we are trying diff --git a/xen/common/schedule.c b/xen/common/schedule.c index 1058e19..e83f4c7 100644 --- a/xen/common/schedule.c +++ b/xen/common/schedule.c @@ -700,7 +700,7 @@ void restore_vcpu_affinity(struct domain *d) cpupool_domain_cpumask(v->domain)); v->processor = cpumask_any(cpumask_scratch_cpu(cpu)); - spin_unlock_irq(lock);; + spin_unlock_irq(lock); lock = vcpu_schedule_lock_irq(v); v->processor = SCHED_OP(vcpu_scheduler(v), pick_cpu, v);