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

Message ID 167274186311.4906.18084319743062649732.tip-bot2@tip-bot2
State New
Headers
Series [tip:,x86/asm] x86/lib: Include <asm/misc.h> to fix a missing prototypes warning at build time |

Commit Message

tip-bot2 for Thomas Gleixner Jan. 3, 2023, 10:31 a.m. UTC
  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 <anuradha@debian.org>
AuthorDate:    Tue, 03 Jan 2023 09:16:34 +05:30
Committer:     Ingo Molnar <mingo@kernel.org>
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

Signed-off-by: Anuradha Weeraman <anuradha@debian.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230103034637.74679-1-anuradha@debian.org
---
 arch/x86/lib/misc.c | 2 ++
 1 file changed, 2 insertions(+)
  

Patch

diff --git a/arch/x86/lib/misc.c b/arch/x86/lib/misc.c
index a018ec4..92cd8ec 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.
  *