diff options
author | Tian Tao <tiantao6@hisilicon.com> | 2020-09-21 09:53:23 +0800 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2020-09-25 23:29:04 +0200 |
commit | aad0f3d693bbb356b9478879ecd245d4f7a2beb0 (patch) | |
tree | 3acfd975fb4918bd230b56eebce5ab04e4cdf186 /drivers/firmware/efi/libstub | |
parent | 6277e374b0b07c1a93c829f0a27e38739b3b7a1b (diff) |
efi/libstub: Fix missing-prototypes in string.c
Fix the following warnings.
drivers/firmware/efi/libstub/string.c:83:20: warning: no previous
prototype for ‘simple_strtoull’ [-Wmissing-prototypes]
drivers/firmware/efi/libstub/string.c:108:6: warning: no previous
prototype for ‘simple_strtol’ [-Wmissing-prototypes]
Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Link: https://lore.kernel.org/r/1600653203-57909-1-git-send-email-tiantao6@hisilicon.com
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'drivers/firmware/efi/libstub')
-rw-r--r-- | drivers/firmware/efi/libstub/string.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/firmware/efi/libstub/string.c b/drivers/firmware/efi/libstub/string.c index 1ac2f8764715..5d13e43869ee 100644 --- a/drivers/firmware/efi/libstub/string.c +++ b/drivers/firmware/efi/libstub/string.c @@ -7,6 +7,7 @@ */ #include <linux/ctype.h> +#include <linux/kernel.h> #include <linux/types.h> #include <linux/string.h> |