Messages in this thread Patch in this message | | | Date | Fri, 19 Jun 2020 16:45:59 -0000 | From | "tip-bot2 for Ard Biesheuvel" <> | 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@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)
| |