From: Ard Biesheuvel <ardb@kernel.org>
Date: Mon, 15 Jun 2020 12:31:14 +0200
Subject: efi/libstub: Fix missing-prototype warning for skip_spaces()
Patch-mainline: v5.8-rc3
Git-commit: 24552d10339f13d2174e013002da3ed90e26adda
References: jsc#SLE-16407
Include <linux/string.h> into skip_spaces.c to silence a compiler
warning about a missing prototype.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Acked-by: Lee, Chun-Yi <jlee@suse.com>
---
drivers/firmware/efi/libstub/skip_spaces.c | 1 +
1 file changed, 1 insertion(+)
--- a/drivers/firmware/efi/libstub/skip_spaces.c
+++ b/drivers/firmware/efi/libstub/skip_spaces.c
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-2.0
#include <linux/ctype.h>
+#include <linux/string.h>
#include <linux/types.h>
char *skip_spaces(const char *str)