From patchwork Thu Jun 28 19:09:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengguang Wu X-Patchwork-Id: 10494845 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 DDDBE60325 for ; Thu, 28 Jun 2018 19:10:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E46D02A40A for ; Thu, 28 Jun 2018 19:10:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D8C202A317; Thu, 28 Jun 2018 19:10:29 +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.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=unavailable 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 7A2BE2A317 for ; Thu, 28 Jun 2018 19:10:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753203AbeF1TJ7 (ORCPT ); Thu, 28 Jun 2018 15:09:59 -0400 Received: from mga02.intel.com ([134.134.136.20]:44096 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751981AbeF1TJ5 (ORCPT ); Thu, 28 Jun 2018 15:09:57 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Jun 2018 12:09:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,284,1526367600"; d="scan'208";a="50684706" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga007.fm.intel.com with ESMTP; 28 Jun 2018 12:09:54 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1fYcIj-0003KU-AU; Fri, 29 Jun 2018 03:09:53 +0800 Date: Fri, 29 Jun 2018 03:09:34 +0800 From: kbuild test robot To: Vitaly Kuznetsov Cc: kbuild-all@01.org, kvm@vger.kernel.org, x86@kernel.org, Paolo Bonzini , Radim =?utf-8?B?S3LEjW3DocWZ?= , Roman Kagan , "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , "Michael Kelley (EOSG)" , Mohammed Gamal , Cathy Avery , Wanpeng Li , linux-kernel@vger.kernel.org Subject: [PATCH] KVM: x86: hyperv: fix semicolon.cocci warnings Message-ID: <20180628190934.GA50065@lkp-hsx03> References: <20180628135313.17468-3-vkuznets@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20180628135313.17468-3-vkuznets@redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: lkp@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: kbuild test robot arch/x86/kvm/hyperv.c:174:2-3: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci Fixes: 5282e205b1f9 ("KVM: x86: hyperv: introduce vp_index_to_vcpu_idx mapping") CC: Vitaly Kuznetsov Signed-off-by: kbuild test robot --- hyperv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/x86/kvm/hyperv.c +++ b/arch/x86/kvm/hyperv.c @@ -171,7 +171,7 @@ static u32 vp_idx_to_vcpu_idx(struct kvm } else /* (tmp_vp_idx > vp_idx) */ { r_index = tmp_index - 1; } - }; + } unlock: rcu_read_unlock();