mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [tip: efi/urgent] efi/libstub: Fix missing-prototype warning for skip_spaces()
@ 2020-06-19 16:45 tip-bot2 for Ard Biesheuvel
  0 siblings, 0 replies; only message in thread
From: tip-bot2 for Ard Biesheuvel @ 2020-06-19 16:45 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: Ard Biesheuvel, x86, LKML

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@kernel.org>
AuthorDate:    Mon, 15 Jun 2020 12:31:14 +02:00
Committer:     Ard Biesheuvel <ardb@kernel.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@kernel.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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-06-19 16:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-19 16:45 [tip: efi/urgent] efi/libstub: Fix missing-prototype warning for skip_spaces() tip-bot2 for Ard Biesheuvel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®