Message ID | 168444739294.404.2460168423574239895.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 b10csp826008vqo; Thu, 18 May 2023 15:04:21 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7A2w2nv5NLonASFiUU2cWf8q9Qof4Mit3+1YycWx9T2TBoiw1Q2D1Rwv1pagFeJyyyj7JW X-Received: by 2002:a05:6a20:8e26:b0:100:47a5:d754 with SMTP id y38-20020a056a208e2600b0010047a5d754mr1604796pzj.23.1684447461545; Thu, 18 May 2023 15:04:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684447461; cv=none; d=google.com; s=arc-20160816; b=HjndtdxnlO39RWvNLAFKE+Pl6FCy39pO5Tj3OXsFtZjHom+IdnVja59vwEhw0L8muN jHj2oz93IpSffwrGCM+7KGiZ0lMaLRhvYfOyrtTezm1I/UBdPEXSnX56pBFFrTfCXt2P x64WbnyYVwRRN/pzzGach6IJkanQldq6rCqDgBuSsi13HEBf9BEZbQFulER+d93qlwMf g9Wx5KTBxd8zQjKeaVdyKYKbp6jd2bztYMMlTSBU2qCJa18igiGZkGSCD5Orts0r2bmu HTmhAo2O16Ef0jKZeHBCVBvsZu1QF1YxNenXAFYCvA40QBkzxNCITKFDhOtLxaMYWEFT FRUw== 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:cc:subject:to:reply-to:sender:from :dkim-signature:dkim-signature:date; bh=FPwDkKAMXUKs/+pkRHShHp8gERHgCWToqTFG/FEqrbw=; b=fI8kQVbn7hFepLdWRZPKaxoLsAiEFWn9Jyx5h0Z93O/M212/uT+bEdeBgFHN7ozhz0 CxRz8gCym23dT6DjjY6MTkhBuyEqmMn/cye8GJ9lDAF8yb+ED1vs9XpIFhBtqU1QlnGD FplVoOJ/HOREaLWNDyaDv/+K6i1d4JuJNEOLmmQugVzYDICuC4kDiTe5diwiiRLfO2E1 udlalAXP+4uOuTHqjlp9kmszGca7+n7ZRKLmHh6eOCSMqt6EgZjABzIXsMbsIQqdIT3z kr6CwK/VxwF8LD0xBB9trRVx/q5y2wS/C1mvp0sN+bBmyJ4KsMtdnNqXhNa6UpkoqsGH Kwfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=UU4GMyzu; 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 o28-20020a63731c000000b00530b3aef21asi2208896pgc.598.2023.05.18.15.04.05; Thu, 18 May 2023 15:04:21 -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=UU4GMyzu; 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 S230309AbjERWDW (ORCPT <rfc822;pacteraone@gmail.com> + 99 others); Thu, 18 May 2023 18:03:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229798AbjERWDQ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 18 May 2023 18:03:16 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFDAAE5E; Thu, 18 May 2023 15:03:14 -0700 (PDT) Date: Thu, 18 May 2023 22:03:12 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1684447393; 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; bh=FPwDkKAMXUKs/+pkRHShHp8gERHgCWToqTFG/FEqrbw=; b=UU4GMyzuYgmyqp0pLlyUlMnPFfQLv6dS5UbxFqp9qLDaxjnh8eKLCMJrZ97o8ZjD9niSh2 BKqRUQbhKZIX4ff9Y6HH5OCVjjbJ/um+HfIOBAK4HZ+mYm7z+9ogJjpqS/3GOICwLJagC7 +qfcjdA4cXBlqd07CgweSgBHyLUb9dUJG+re1BLbNDp0gc6QglABgH6jMkIm1+HbYX9ubJ /y5AmWOue8ESDIqsr+Q3dRQ/0Sxrad+K5OtFZp5lvj5q5FgXo287dfRsjBps0LVIyJ3zWC B2sD0bX1Mu301jV85CAkh+fpgdO068IRUaRQMkW/95fgxLZBOwP51OV0WTHnXw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1684447393; 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; bh=FPwDkKAMXUKs/+pkRHShHp8gERHgCWToqTFG/FEqrbw=; b=XrNio2cDk6lHxuqhiiHgiM+ZXtjB8Kvtuf3LXbiFkD9dwdQhQHFIKB6Tdv0is+ghhAhcoe upfdBLF3JxEx0YDQ== 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/mce: Add copy_mc_fragile_handle_tail() prototype Cc: Arnd Bergmann <arnd@arndb.de>, Dave Hansen <dave.hansen@linux.intel.com>, Alexander Lobakin <aleksander.lobakin@intel.com>, x86@kernel.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Message-ID: <168444739294.404.2460168423574239895.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: quoted-printable 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?1766271181460447447?= X-GMAIL-MSGID: =?utf-8?q?1766271181460447447?= |
Series |
[tip:,x86/cleanups] x86/mce: Add copy_mc_fragile_handle_tail() prototype
|
|
Commit Message
tip-bot2 for Thomas Gleixner
May 18, 2023, 10:03 p.m. UTC
The following commit has been merged into the x86/cleanups branch of tip: Commit-ID: e9c2a283e7d9d4e207b5ab4aa1723d62ee2ecbee Gitweb: https://git.kernel.org/tip/e9c2a283e7d9d4e207b5ab4aa1723d62ee2ecbee Author: Arnd Bergmann <arnd@arndb.de> AuthorDate: Tue, 16 May 2023 21:35:44 +02:00 Committer: Dave Hansen <dave.hansen@linux.intel.com> CommitterDate: Thu, 18 May 2023 11:56:18 -07:00 x86/mce: Add copy_mc_fragile_handle_tail() prototype copy_mc_fragile_handle_tail() is only called from assembler, but 'make W=1' complains about a missing prototype: arch/x86/lib/copy_mc.c:26:1: warning: no previous prototype for ‘copy_mc_fragile_handle_tail’ [-Wmissing-prototypes] 26 | copy_mc_fragile_handle_tail(char *to, char *from, unsigned len) Add the prototype to avoid the warning. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Reviewed-by: Alexander Lobakin <aleksander.lobakin@intel.com> Link: https://lore.kernel.org/all/20230516193549.544673-16-arnd%40kernel.org --- arch/x86/include/asm/mce.h | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/arch/x86/include/asm/mce.h b/arch/x86/include/asm/mce.h index 9646ed6..180b1cb 100644 --- a/arch/x86/include/asm/mce.h +++ b/arch/x86/include/asm/mce.h @@ -350,4 +350,7 @@ static inline void mce_amd_feature_init(struct cpuinfo_x86 *c) { } #endif static inline void mce_hygon_feature_init(struct cpuinfo_x86 *c) { return mce_amd_feature_init(c); } + +unsigned long copy_mc_fragile_handle_tail(char *to, char *from, unsigned len); + #endif /* _ASM_X86_MCE_H */