* [tip: x86/cleanups] x86/mce: Add copy_mc_fragile_handle_tail() prototype
@ 2023-05-18 22:03 tip-bot2 for Arnd Bergmann
0 siblings, 0 replies; only message in thread
From: tip-bot2 for Arnd Bergmann @ 2023-05-18 22:03 UTC (permalink / raw)
To: linux-tip-commits
Cc: Arnd Bergmann, Dave Hansen, Alexander Lobakin, x86, linux-kernel
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 */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-05-18 22:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-18 22:03 [tip: x86/cleanups] x86/mce: Add copy_mc_fragile_handle_tail() prototype tip-bot2 for Arnd Bergmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®