Message ID | 169107835389.28540.5714032870565906912.tip-bot2@tip-bot2 |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f41:0:b0:3e4:2afc:c1 with SMTP id v1csp1273800vqx; Thu, 3 Aug 2023 09:45:54 -0700 (PDT) X-Google-Smtp-Source: APBJJlFdQhBuGwmeVNjXWbRIFXRuQneRUrdmZaHK61t39lJ3GV8d72Sus7WW43ZZL/0TTPJSa7aQ X-Received: by 2002:a05:6870:1683:b0:1b7:2148:41f0 with SMTP id j3-20020a056870168300b001b7214841f0mr24327382oae.46.1691081154604; Thu, 03 Aug 2023 09:45:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691081154; cv=none; d=google.com; s=arc-20160816; b=knLW5BgCnFMkGO3WycJA6QhsPcodCJM6Cn27cAd0ZuilWbZ1p8ofknoEzyuU6ApLgy Z24t5RTG9/u8AD1lAKYtpIZ4ppwLCJjQOd/aRPBb33Yf2ETsp0kzkwnK6khofoCgoR9v A36wP6pfrfg+AuD39HLqrIkXpirkAs1NRkwl3JSSrzGABXc+JiCr3JCIxiUZhMcebK0x C6YzD+0Z9W6M8NtcB0/iudotZncLskL0MAm59JegothZKUEGApTniX3f4IQ3j74tVePp RoHStNoLQPzplLA8ml8Y5CYjO7zxIVvMOG2rcifGBweftHwaYOk8jQda3CMrM0GjIdYZ NXgg== 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=8roA7YqrbXNK1Oco/Q8gJvVYSq/5quxwD8UmRyfAEZY=; fh=GmswEOGbKr3VXwADkGMdbYvANKaeXXy9MxNXblyNAM0=; b=nyORlsnMilmHNQNUL+aqsqEr3k5DM274tPJ5H8q1warwgmpRz3HrpSmdA3YKOw4x+W EVYo6Qpstkvd5jzHcIb9ldEZrK1j4l5aud7+6U21yQVIV2/LeefSnINeqq6UEEoanHQ9 9gNFBcYj6VQhuVBI9vyfmctGj5K3/E5ljU+6VP9mubd3YSlnVtqeaaQCQ4EBCOazbHe2 PXiz/MJkdBfrnOW9lrmigqHWRfKCQxYISC2yr7OF1rV3LH9LrD4Jzo50un854aQtmx+V 8wqFMJ8CEwb1OWN27hrUZ5NYy/ncKGhej3CpPeDUIPHhSI0/nOqayJ0F2RfDDF4um37u nqaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=zZDQsMPU; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=hgiYzWSK; 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 k62-20020a17090a4cc400b00263e9b06a99si3507698pjh.77.2023.08.03.09.45.40; Thu, 03 Aug 2023 09:45:54 -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=zZDQsMPU; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=hgiYzWSK; 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 S237278AbjHCP7U (ORCPT <rfc822;guoshuai5156@gmail.com> + 99 others); Thu, 3 Aug 2023 11:59:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233758AbjHCP7R (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 3 Aug 2023 11:59:17 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B46F11F; Thu, 3 Aug 2023 08:59:15 -0700 (PDT) Date: Thu, 03 Aug 2023 15:59:13 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1691078354; 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=8roA7YqrbXNK1Oco/Q8gJvVYSq/5quxwD8UmRyfAEZY=; b=zZDQsMPUMcYDRlea/6iCvit1yAocz2P/2rmrybsgLLDyDPa0ld4EwEk40WS6UOxTqeA0Yt VYBhjZAcOyRjfdKmJJBNfHkOt2yA8L1bJkoRoGFZJDTNtsLZg4r3Br8pDgtimFCsFJ0bp6 3tugYW2VtN14iUwEkTUwSopQjS0CxzPeDHdr6XWzHhOc95g0AhGkVmt9KFUQQdk3cfxfIF rQTsUv1wbG7Lpnb6aVU/1TzJLhsWNU/8/oDqJ0lLuUsMRJAi5iaOd0zxC5umnYQVGeov+t h85yR7XKV5pn9K/7U/v+iNJpG+d4BRqJn5V4TshZF3X/cxBA0nAoqGnTnz+uDQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1691078354; 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=8roA7YqrbXNK1Oco/Q8gJvVYSq/5quxwD8UmRyfAEZY=; b=hgiYzWSKGksy1zkLOipRTdnzbTVJpuyvcnZuObi6qy+g3ucJo3Ls6ptXva4SILcJhZYOPg FsppeITN4ObZNaCQ== From: "tip-bot2 for Arnd Bergmann" <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/cleanups] x86/alternative: Add a __alt_reloc_selftest() prototype Cc: Arnd Bergmann <arnd@arndb.de>, "Borislav Petkov (AMD)" <bp@alien8.de>, x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230803082619.1369127-6-arnd@kernel.org> References: <20230803082619.1369127-6-arnd@kernel.org> MIME-Version: 1.0 Message-ID: <169107835389.28540.5714032870565906912.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: INBOX X-GMAIL-THRID: 1773227113145840571 X-GMAIL-MSGID: 1773227113145840571 |
Series |
[tip:,x86/cleanups] x86/alternative: Add a __alt_reloc_selftest() prototype
|
|
Commit Message
tip-bot2 for Thomas Gleixner
Aug. 3, 2023, 3:59 p.m. UTC
The following commit has been merged into the x86/cleanups branch of tip: Commit-ID: 1a3e4b4da39bbf540a379e21869faa74bb19d16f Gitweb: https://git.kernel.org/tip/1a3e4b4da39bbf540a379e21869faa74bb19d16f Author: Arnd Bergmann <arnd@arndb.de> AuthorDate: Thu, 03 Aug 2023 10:26:17 +02:00 Committer: Borislav Petkov (AMD) <bp@alien8.de> CommitterDate: Thu, 03 Aug 2023 16:40:50 +02:00 x86/alternative: Add a __alt_reloc_selftest() prototype The newly introduced selftest function causes a warning when -Wmissing-prototypes is enabled: arch/x86/kernel/alternative.c:1461:32: error: no previous prototype for '__alt_reloc_selftest' [-Werror=missing-prototypes] Since it's only used locally, add the prototype directly in front of it. Fixes: 270a69c4485d ("x86/alternative: Support relocations in alternatives") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20230803082619.1369127-6-arnd@kernel.org --- arch/x86/kernel/alternative.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/arch/x86/kernel/alternative.c b/arch/x86/kernel/alternative.c index 2dcf3a0..934c23f 100644 --- a/arch/x86/kernel/alternative.c +++ b/arch/x86/kernel/alternative.c @@ -1531,6 +1531,7 @@ static noinline void __init int3_selftest(void) static __initdata int __alt_reloc_selftest_addr; +extern void __init __alt_reloc_selftest(void *arg); __visible noinline void __init __alt_reloc_selftest(void *arg) { WARN_ON(arg != &__alt_reloc_selftest_addr);