x86: Add header to fix missing-prototypes warning
PATCH 1/1 x86: Add header to fix missing-prototypes warning
Included <asm/misc.h> to fix a missing prototypes warning at build time.
Signed-off-by Anuradha Weeraman <[email protected]>
--- arch/x86/lib/misc.c | 2 ++ 1 file changed, 2 insertions(+)
arch/x86/lib/misc.c +2 -0
@@ -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
[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
Signed-off-by Anuradha Weeraman <[email protected]>
Signed-off-by Ingo Molnar <[email protected]>
--- arch/x86/lib/misc.c | 2 ++ 1 file changed, 2 insertions(+)
arch/x86/lib/misc.c +2 -0
@@ -1,4 +1,6 @@// SPDX-License-Identifier: GPL-2.0 +#include <asm/misc.h> +/* * Count the digits of @val including a possible sign. *