Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp391527rwb; Sun, 25 Sep 2022 23:28:07 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5fgLmh51EfOajqjSTUqBPvukStQwXbU718so7NEqIL8FWXFHmMc66p5vWqR7XVNnVHgwG4 X-Received: by 2002:a05:6402:493:b0:445:b5f0:7a0f with SMTP id k19-20020a056402049300b00445b5f07a0fmr20496564edv.120.1664173686862; Sun, 25 Sep 2022 23:28:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664173686; cv=none; d=google.com; s=arc-20160816; b=yE9SrTdza5nUc8UUHc5hm/UNUHZcMrXPJWXk6Y49l4S1BuvcR9Zrv11o26rdcbgO/z p9RV3DPh1BFNihHsk0FK0jm8Rwzz3EE7G5W47uEyqAnGcBjMW3XfG5HnL11w7O6+H6mw JTg4UVFbznowZGHTSWhSlYox21SzVrYAp9Cy9rjvRDC4wJ5D4V097swCT4QW0wRWT0Fk +Q/Y20nYPI3FqoXfN8PAE0a8Is4ZnrU1hekzlPR7gqPQZeWZxliaCM2rY5I8iLJuLyfT hYRBYg/dkp/rANKJLxm4bpn7p0gA43Xg5Gb9D4Iup27kE4tO6YI1e/Lp2yX4x2zwfuLj Gb4Q== 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=CeXc+fHIbAMbaFxvaZGMgcIJIabbWutRDy5PxkgaRhc=; b=HNwTSAEvlWtjO0NhLO1Pn9q9arLc7kzs4Z+rXipOWuQpK/Mh9KwLoCW7CJ4OGxE9Td qHlblGTDXme4Lc/WhaVqgJFfn4IFBtalyHHMiH9PxeMejMbzK9XQyXS1W7LpiwOezaIA yYzXRcEAklazufVLHUkpx5HMF6sYlKNEMLsCivUwQfWKSUgkCLv7D7uHzA6o+p+7e2Dl oIRrjC5GAPBJPeVrLFT3pUSKS92PNWR1SAPISkVXHr1nqM52QSXjAay2FqyVJy5H6Rat RHUeft1A9cnCUFtOqRFqQZN8SJA2MVSmgpQRSyC4aHLBMy/Skx1oFf9ubf+w8+m4m6p4 UltQ== 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 dk21-20020a0564021d9500b00456cc6e1017si7231125edb.109.2022.09.25.23.27.40; Sun, 25 Sep 2022 23:28:06 -0700 (PDT) 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 S233385AbiIZFqs (ORCPT + 99 others); Mon, 26 Sep 2022 01:46:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229561AbiIZFqq (ORCPT ); Mon, 26 Sep 2022 01:46:46 -0400 Received: from out30-56.freemail.mail.aliyun.com (out30-56.freemail.mail.aliyun.com [115.124.30.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3703240B4 for ; Sun, 25 Sep 2022 22:46:43 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R131e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046059;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0VQg7l19_1664171190; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VQg7l19_1664171190) by smtp.aliyun-inc.com; Mon, 26 Sep 2022 13:46:39 +0800 From: Jiapeng Chong To: tglx@linutronix.de Cc: mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, keescook@chromium.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH] x86/alternatives: remove unneeded semicolon Date: Mon, 26 Sep 2022 13:46:28 +0800 Message-Id: <20220926054628.116957-1-jiapeng.chong@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,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,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 ./arch/x86/kernel/alternative.c:1610:2-3: Unneeded semicolon. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2275 Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- 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 68d84cf8e001..74bcec3362cb 100644 --- a/arch/x86/kernel/alternative.c +++ b/arch/x86/kernel/alternative.c @@ -1607,7 +1607,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