Skip to contentSkip to conversation

x86: add header to fix missing-prototypes warning

PATCH New Anuradha Weeraman 1 participant 1 message Dec 26, 2022 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