Skip to contentSkip to conversation

x86: Add header to fix missing-prototypes warning

PATCH Applied Anuradha Weeraman 2 participants 2 messages Jan 3, 2023 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: Add header to fix missing-prototypes warning

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

---
 arch/x86/lib/misc.c | 2 ++
 1 file changed, 2 insertions(+)
arch/x86/lib/misc.c +2 -0
index a018ec4fba53..92cd8ecc3a2c 100644
@@ -1,4 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0
+#include <asm/misc.h>
+
 /*
  * Count the digits of @val including a possible sign.
  *
Signature · 1 line
2.35.1
#1 lore raw

[tip: x86/asm] x86/lib: Include <asm/misc.h> to fix a missing prototypes warning at build time

The following commit has been merged into the x86/asm branch of tip:

The following commit has been merged into the x86/asm branch of tip:

Commit-ID:     4651b9438b69ffa771c6e94020920a026ba86e98
Gitweb:        https://git.kernel.org/tip/4651b9438b69ffa771c6e94020920a026ba86e98
Author:        Anuradha Weeraman <[email protected]>
AuthorDate:    Tue, 03 Jan 2023 09:16:34 +05:30
Committer:     Ingo Molnar <[email protected]>
CommitterDate: Tue, 03 Jan 2023 11:11:03 +01:00

x86/lib: Include <asm/misc.h> to fix a missing prototypes warning at build time

---
 arch/x86/lib/misc.c | 2 ++
 1 file changed, 2 insertions(+)
arch/x86/lib/misc.c +2 -0
index a018ec4..92cd8ec 100644
@@ -1,4 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0
+#include <asm/misc.h>
+
 /*
  * Count the digits of @val including a possible sign.
  *