From patchwork Fri Oct 20 11:37:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 156022 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2010:b0:403:3b70:6f57 with SMTP id fe16csp990380vqb; Fri, 20 Oct 2023 04:37:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGfZ/uIJkjmXuW3ErpoJGmSlLjzQ0vpsx/BX22MqWdREJUAIJ9NnO0BE7Ji7bLQwv9ALmdB X-Received: by 2002:a05:6a20:8f27:b0:14d:6309:fc96 with SMTP id b39-20020a056a208f2700b0014d6309fc96mr1784662pzk.4.1697801870841; Fri, 20 Oct 2023 04:37:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697801870; cv=none; d=google.com; s=arc-20160816; b=nK1VdWINO7gjiCv8CuckHjKKpGmV2OGoyVoUBaOuEWFZxihJQUCIXzc9jZRULAoky+ VeU323GaTtf2UVYDTTujepNQPw9KAHf2G3K+7iHk8bidEC1tOcEGtUZu29NZFOE9yrHS FyVuZWSDCoQV10kOUYHunUdx+QPFmSrfCZSIRJv+s9Y1e6vNMEc1DvmGMM4zn1tBwaMG xFe6FmaZiuftqYX4XzCpJW0W38DcT3M9gdTchrKdIA4gu4+RqjnEiEpKtDaAMBVdeeEG q+iP7SVIKCn+beQmD1b2/Z6zBe+SbgdHl6gHjFHHoLV9wolxuHt0AiRYkdWvAdATauJc hzXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=jJnp6L74tmGqCejbAYRKbVqqHPi90ERl9GbDM4NVOWI=; fh=c6HZlgiqV1d9BlVUE0+8kDGXp7WLCiHZqflhy8ojSkQ=; b=bKaMDsgTgVlZ4kuIbNegmEqfx5vM3EI79efHIABzIz9nk+aP1f+krYl0JxgGbXw6Kw zetJHKpzFafZimBrpOv4HfX065bG38oph/bazYvXtP889jQnb2PQhycE33nBHMuo6lS1 KLPlCwwXF1mmwP6IhbSGe+fvSzjStkyNvK2su4wlXPVkbB77i+sosu9Q3n58KvKKpRUK gpy8h9FIjUyhXQDThkEfj4CH+DjoaEv3mhY+F3xGoif54KJCqHmENsZ9fVjplz0Lq8SR nTlCQYnKq/hSgXw/AYTeQ9VOJA+eSiM7FD3lnx/dfxzdJpzsQS8BtTz12j+KwCCZmKiE U0KQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=wqU9UI3Z; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=5dWgngRf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id k184-20020a6384c1000000b005acf0458523si1652612pgd.612.2023.10.20.04.37.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 04:37:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=wqU9UI3Z; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=5dWgngRf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id EB7EB82EA15C; Fri, 20 Oct 2023 04:37:44 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377180AbjJTLhW (ORCPT + 25 others); Fri, 20 Oct 2023 07:37:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377114AbjJTLhT (ORCPT ); Fri, 20 Oct 2023 07:37:19 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62DBC1A8; Fri, 20 Oct 2023 04:37:17 -0700 (PDT) Date: Fri, 20 Oct 2023 11:37:15 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1697801836; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jJnp6L74tmGqCejbAYRKbVqqHPi90ERl9GbDM4NVOWI=; b=wqU9UI3ZNrIdCev4GBnjWCe8mSwXkMYIG50BTgrr5sjv2Pl5Sn4fmAm3F9sJTBfwV8vP1e fS/ENPtI4UtXXZ1AsF+bzil/iHM8RkRqrkp4HhL3qVCYn/BUZN/VlJmGF4pizAjEKVlhS3 r4wP50FnuYEif1NF0LJgUGCCk37Q0rHq5LZwOhav4oLpv4mtDyb6HUiP/AY1+6Ooau2D5q /05jH6a3gdXlb4mB0ST0m0aYshe6NwgdoaT8MG8y8oOPAAR1n56VEGojInUIeOlyAiPTlY xoxALECoNz67HMV/UYIbNUpCdBusdpOXt9xkxuNyCzVzARDYOodC/qT6O9RcBA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1697801836; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jJnp6L74tmGqCejbAYRKbVqqHPi90ERl9GbDM4NVOWI=; b=5dWgngRfZDj/TyoIFhWwxBYob9lKKAgh8oG0jaI4qsR3Aj7T/EzaNnP4wgKa7ZvQ2DASTE m27zYFteyERySYDw== From: "tip-bot2 for Yang Li" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/bugs] x86/srso: Remove unnecessary semicolon Cc: Yang Li , Ingo Molnar , "Borislav Petkov (AMD)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230810010550.25733-1-yang.lee@linux.alibaba.com> References: <20230810010550.25733-1-yang.lee@linux.alibaba.com> MIME-Version: 1.0 Message-ID: <169780183542.3135.6411016213557318844.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 20 Oct 2023 04:37:45 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778375305119156476 X-GMAIL-MSGID: 1780274294112814320 The following commit has been merged into the x86/bugs branch of tip: Commit-ID: 904e1ddd0b31dc341f6af09e1558589f50b3d04d Gitweb: https://git.kernel.org/tip/904e1ddd0b31dc341f6af09e1558589f50b3d04d Author: Yang Li AuthorDate: Thu, 10 Aug 2023 09:05:50 +08:00 Committer: Borislav Petkov (AMD) CommitterDate: Fri, 20 Oct 2023 12:50:35 +02:00 x86/srso: Remove unnecessary semicolon scripts/coccinelle/misc/semicolon.cocci reports: arch/x86/kernel/cpu/bugs.c:713:2-3: Unneeded semicolon Signed-off-by: Yang Li Signed-off-by: Ingo Molnar Signed-off-by: Borislav Petkov (AMD) Link: https://lore.kernel.org/r/20230810010550.25733-1-yang.lee@linux.alibaba.com --- arch/x86/kernel/cpu/bugs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/cpu/bugs.c b/arch/x86/kernel/cpu/bugs.c index 016a326..bb0ab84 100644 --- a/arch/x86/kernel/cpu/bugs.c +++ b/arch/x86/kernel/cpu/bugs.c @@ -717,7 +717,7 @@ void update_gds_msr(void) case GDS_MITIGATION_UCODE_NEEDED: case GDS_MITIGATION_HYPERVISOR: return; - }; + } wrmsrl(MSR_IA32_MCU_OPT_CTRL, mcu_ctrl);