[<prev] [next>] [day] [month] [year] [list]
Message-ID: <159258515978.16989.8538680304687702182.tip-bot2@tip-bot2>
Date: Fri, 19 Jun 2020 16:45:59 -0000
From: "tip-bot2 for Ard Biesheuvel" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Ard Biesheuvel <ardb@...nel.org>, x86 <x86@...nel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: [tip: efi/urgent] efi/libstub: Fix missing-prototype warning for
skip_spaces()
The following commit has been merged into the efi/urgent branch of tip:
Commit-ID: 24552d10339f13d2174e013002da3ed90e26adda
Gitweb: https://git.kernel.org/tip/24552d10339f13d2174e013002da3ed90e26adda
Author: Ard Biesheuvel <ardb@...nel.org>
AuthorDate: Mon, 15 Jun 2020 12:31:14 +02:00
Committer: Ard Biesheuvel <ardb@...nel.org>
CommitterDate: Mon, 15 Jun 2020 19:43:58 +02:00
efi/libstub: Fix missing-prototype warning for skip_spaces()
Include <linux/string.h> into skip_spaces.c to silence a compiler
warning about a missing prototype.
Signed-off-by: Ard Biesheuvel <ardb@...nel.org>
---
drivers/firmware/efi/libstub/skip_spaces.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/firmware/efi/libstub/skip_spaces.c b/drivers/firmware/efi/libstub/skip_spaces.c
index a700b3c..159fb4e 100644
--- 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)
Powered by blists - more mailing lists