mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] x86: Add header to fix missing-prototypes warning
@ 2023-01-03  3:46 Anuradha Weeraman
  2023-01-03 10:31 ` [tip: x86/asm] x86/lib: Include <asm/misc.h> to fix a missing prototypes warning at build time tip-bot2 for Anuradha Weeraman
  0 siblings, 1 reply; 2+ messages in thread
From: Anuradha Weeraman @ 2023-01-03  3:46 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, Borislav Petkov, Dave Hansen, x86,
	H. Peter Anvin, linux-kernel
  Cc: anuradha

Included <asm/misc.h> to fix a missing prototypes warning at build time.

Signed-off-by: Anuradha Weeraman <anuradha@debian.org>
---
 arch/x86/lib/misc.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/x86/lib/misc.c b/arch/x86/lib/misc.c
index a018ec4fba53..92cd8ecc3a2c 100644
--- a/arch/x86/lib/misc.c
+++ b/arch/x86/lib/misc.c
@@ -1,4 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0
+#include <asm/misc.h>
+
 /*
  * Count the digits of @val including a possible sign.
  *
-- 
2.35.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-03 10:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-03  3:46 [PATCH] x86: Add header to fix missing-prototypes warning Anuradha Weeraman
2023-01-03 10:31 ` [tip: x86/asm] x86/lib: Include <asm/misc.h> to fix a missing prototypes warning at build time tip-bot2 for Anuradha Weeraman

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®