Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp6188435pxb; Mon, 14 Feb 2022 18:07:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJx1Q+HoEyxvq4HwPpNYBpN8qquAhOdDdGyT58S/HgoAxpd4kJhc9R9J1yWPwKpXFYBm2jkz X-Received: by 2002:a63:91c1:: with SMTP id l184mr1614021pge.127.1644890824928; Mon, 14 Feb 2022 18:07:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644890824; cv=none; d=google.com; s=arc-20160816; b=jCz1UMlTogN/lznXCDoyyv2xc/MdycaTyCvmUznNKQLrL/BJIXjkdHGcxj3rm8coeI vx17KA9pWInEM5rO4fT+vt5La9WHwKq8uVby7IRZe6eZXHirUV3zSwPID7id5t68pnR+ jch7WmweAahC8GJmKRaiDKOJIUAONU7HZfnHRP9yhMShdde56P26mJDXPMa7qJ4Zo/9u rF68EVx98CkO9PIEo6efLKgeL3hZy7lrqT0ldv6+4TjPISh5iGjM+0g3XAckSWj19AxL Mu0zcgBTm8TfkBWOYHtNH2/zD4HxSZcISQ6riIGQg764CYSW9Hq1+UnTqntrv6B39L6L W8zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=2kyX1WXm0fE93CwbiF2ZM39LOdAFidlVGacyjrJtegQ=; b=eYALBdS1NQCnN6cKQEo2p/ryGQwNnXXLTdiigefJ7Ijagz+/+39fHRi8Qw0UXE0wZi V37eDQ/oSRxMrph20BDr+E1zZOtJ3Uh804j8jVN1bB73+3orXuszIqQIRpWwm/7OS2tN zZ/sttVXQ5h2XTW/L6YSuIUkopklhKm0MADJvtNwRzDEaU5fsIZosV4CJ5BfrBjODoJi 5tkLqtxd+GW2M/dNMs85ySIaDVHCicuypnEQTwwDREKcJQein/opN0cBhyUVmmT3qFxF uhxEkwhwIR7uRNd9NFvIP3k2qGiuX1wYZbBYOFwYj2r0naDhQhFUCfBtHF3pOOv1WMX4 3/KA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m7si1584874pgv.138.2022.02.14.18.06.49; Mon, 14 Feb 2022 18:07:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232634AbiBOBOz (ORCPT + 99 others); Mon, 14 Feb 2022 20:14:55 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:49710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231664AbiBOBOy (ORCPT ); Mon, 14 Feb 2022 20:14:54 -0500 Received: from out199-10.us.a.mail.aliyun.com (out199-10.us.a.mail.aliyun.com [47.90.199.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65B31124C09 for ; Mon, 14 Feb 2022 17:14:45 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R911e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04423;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=9;SR=0;TI=SMTPD_---0V4Vdgx9_1644887679; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0V4Vdgx9_1644887679) by smtp.aliyun-inc.com(127.0.0.1); Tue, 15 Feb 2022 09:14:40 +0800 From: Yang Li To: tglx@linutronix.de Cc: mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] x86/alternative: remove unneeded semicolon Date: Tue, 15 Feb 2022 09:14:38 +0800 Message-Id: <20220215011438.118027-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Eliminate the following coccicheck warning: ./arch/x86/kernel/alternative.c:1445:2-3: Unneeded semicolon Reported-by: Abaci Robot Signed-off-by: Yang Li --- arch/x86/kernel/alternative.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/alternative.c b/arch/x86/kernel/alternative.c index 018b61febf0e..9dde74a9e599 100644 --- a/arch/x86/kernel/alternative.c +++ b/arch/x86/kernel/alternative.c @@ -1442,7 +1442,7 @@ static void text_poke_loc_init(struct text_poke_loc *tp, void *addr, default: BUG_ON(len != insn.length); - }; + } switch (tp->opcode) { -- 2.20.1.7.g153144c