Message ID | 168355013826.404.7907670056370146878.tip-bot2@tip-bot2 |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2149103vqo; Mon, 8 May 2023 06:17:02 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5commdFpz/DXMGqYwsuTStMWj5uJulr6OvxBWWvitPImR2MnNm7EkAO+0mpQl6T9vS+ESl X-Received: by 2002:a05:6a21:78a0:b0:100:5082:611d with SMTP id bf32-20020a056a2178a000b001005082611dmr5079993pzc.32.1683551822281; Mon, 08 May 2023 06:17:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683551822; cv=none; d=google.com; s=arc-20160816; b=CrBZ5INtCHuD7TZy/V0+TAFEl6WAxi78cTMn17/jssSGbHCgl8G5j9JS+F1Y+Wp9kw 5NZwVMupP0G1jxI4gJ/Kzg+cLGq3zuL0SwV+BbGbbW9AETKmtJcApVFnLW2TIGXSmMoD x5R8ymJWx2xC4ANJMBf9xnJPGLkzaNZu3CR6a35HDMQUCrBNIiBBQ2CX+hfN2u5elEyM lxkAPcr5qebrrSRvh8SdA3nBuOGkHQZDRFGLV5J2wMRzg1M1xyAiDTxte/QhziwpptdX 4LCgcjfelUydgp5Gor8W0p0LGuSyvZ8LGIhR+8uNxXr0i/2Pe06u+/OJ4NPerFSJjiRg SdgQ== 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=22E6zwgdVOnD151+cuXBbZA+cn6V3HC9zP6LwmHi3uo=; b=rLjCnZMwozYSj1L6hJvA9BEB9Y9YYb2NYpOvxG38qjiYxEvtWn449BZB+wzBxXfIkl gd498G/D2EURjo0blMFQjMePfNt6ymDNLhI0JXJbyhpQfIxB+4wFpy33xPNcbUmM71py soX92tOHNUEkGr9sJdhmSxGaTRwmwm25AtoNQSFt+rEKtbaXvaY6KwOyT8qyuse2lORm v4s2YjuRGf4CRFZpVFCq0zl0wz9D7hZJJ+b4fg+XYUqJkjJaxLv4q8MSKXLLaigWr/fP cPhJF7Ujj7lOEmSXwHf0T0aECupws1KBI0Es7xz6I/V3xSgRhMrSMfcCG0hoU6oGyF/Z Inww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=fvfrVc+n; dkim=neutral (no key) header.i=@linutronix.de; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 14-20020a63184e000000b005287f5fbf5esi8172918pgy.254.2023.05.08.06.16.46; Mon, 08 May 2023 06:17:02 -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; dkim=pass header.i=@linutronix.de header.s=2020 header.b=fvfrVc+n; dkim=neutral (no key) header.i=@linutronix.de; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234365AbjEHMtH (ORCPT <rfc822;baris.duru.linux@gmail.com> + 99 others); Mon, 8 May 2023 08:49:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233708AbjEHMtD (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 8 May 2023 08:49:03 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A9D63315A; Mon, 8 May 2023 05:49:01 -0700 (PDT) Date: Mon, 08 May 2023 12:48:58 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1683550139; 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=22E6zwgdVOnD151+cuXBbZA+cn6V3HC9zP6LwmHi3uo=; b=fvfrVc+nQH/os+XZpwaXfkV1HUt5aAN/5W7ViNFDsFc7ySyquM66sBJAiZSUiP8Ixz0UlZ 4M+ifh/flUsJ+1fcvAfJjxDTROuE4IvJf0QWGPXoK/Bimai5wMHC5/UC1JsEVQiDAvtITg e3VOmMLyolkkUNNqnRw4hHvCuGEZEP//fu5V6agvqO9lbJ1rGpHXLTUFMoWaFRhPxC0EJ2 EI2psY3lQ5+b0og09PrlSaE0aZ7mqnl+CVrwrx8xcRT+7Vll1aT7bz5kANmf4oHPci4fAS x8iKYQPRJAsp+XBAd4bvJOlwJEouMezRvZ5kG8oto5E2RqUeRFWkP1/GKR7Ujw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1683550139; 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=22E6zwgdVOnD151+cuXBbZA+cn6V3HC9zP6LwmHi3uo=; b=22ANs4JstIo5ddmg29tp51oy420Jkk7h9N/JLEP6o1TAcmuD6zpC4fTlSGl+8hThnwr46p UMKccKKneMd+UiDg== From: "tip-bot2 for Nathan Fontenot" <tip-bot2@linutronix.de> Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/microcode] x86/microcode/amd: Remove unneeded pointer arithmetic Cc: Nathan Fontenot <nathan.fontenot@amd.com>, "Borislav Petkov (AMD)" <bp@alien8.de>, x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230502174232.73880-1-nathan.fontenot@amd.com> References: <20230502174232.73880-1-nathan.fontenot@amd.com> MIME-Version: 1.0 Message-ID: <168355013826.404.7907670056370146878.tip-bot2@tip-bot2> Robot-ID: <tip-bot2@linutronix.de> Robot-Unsubscribe: Contact <mailto:tglx@linutronix.de> to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764805844265933006?= X-GMAIL-MSGID: =?utf-8?q?1765332035568879004?= |
Series |
[tip:,x86/microcode] x86/microcode/amd: Remove unneeded pointer arithmetic
|
|
Commit Message
tip-bot2 for Thomas Gleixner
May 8, 2023, 12:48 p.m. UTC
The following commit has been merged into the x86/microcode branch of tip: Commit-ID: e281d5cad1f3924edf1042441b98c25204ae0def Gitweb: https://git.kernel.org/tip/e281d5cad1f3924edf1042441b98c25204ae0def Author: Nathan Fontenot <nathan.fontenot@amd.com> AuthorDate: Tue, 02 May 2023 12:42:32 -05:00 Committer: Borislav Petkov (AMD) <bp@alien8.de> CommitterDate: Mon, 08 May 2023 14:38:38 +02:00 x86/microcode/amd: Remove unneeded pointer arithmetic Remove unneeded pointer increment arithmetic, the pointer is set at the beginning of the loop. Signed-off-by: Nathan Fontenot <nathan.fontenot@amd.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20230502174232.73880-1-nathan.fontenot@amd.com --- arch/x86/kernel/cpu/microcode/amd.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/arch/x86/kernel/cpu/microcode/amd.c b/arch/x86/kernel/cpu/microcode/amd.c index dd33ee8..f14f4ea 100644 --- a/arch/x86/kernel/cpu/microcode/amd.c +++ b/arch/x86/kernel/cpu/microcode/amd.c @@ -78,8 +78,6 @@ static u16 find_equiv_id(struct equiv_cpu_table *et, u32 sig) if (sig == e->installed_cpu) return e->equiv_cpu; - - e++; } return 0; }