All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] efi/libstub: Fix missing-prototypes in string.c
@ 2020-09-21  1:53 Tian Tao
  2020-09-24 14:38 ` Ard Biesheuvel
  2020-09-30  5:27 ` [tip: efi/urgent] " tip-bot2 for Tian Tao
  0 siblings, 2 replies; 3+ messages in thread
From: Tian Tao @ 2020-09-21  1:53 UTC (permalink / raw)
  To: ardb, linux-efi; +Cc: linuxarm

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>
---
 drivers/firmware/efi/libstub/string.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/firmware/efi/libstub/string.c b/drivers/firmware/efi/libstub/string.c
index 1ac2f87..5d13e43 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>
 
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] efi/libstub: Fix missing-prototypes in string.c
  2020-09-21  1:53 [PATCH] efi/libstub: Fix missing-prototypes in string.c Tian Tao
@ 2020-09-24 14:38 ` Ard Biesheuvel
  2020-09-30  5:27 ` [tip: efi/urgent] " tip-bot2 for Tian Tao
  1 sibling, 0 replies; 3+ messages in thread
From: Ard Biesheuvel @ 2020-09-24 14:38 UTC (permalink / raw)
  To: Tian Tao; +Cc: linux-efi, Linuxarm

On Mon, 21 Sep 2020 at 03:57, Tian Tao <tiantao6@hisilicon.com> wrote:
>
> 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>

Applied as a fix, thanks.

> ---
>  drivers/firmware/efi/libstub/string.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/firmware/efi/libstub/string.c b/drivers/firmware/efi/libstub/string.c
> index 1ac2f87..5d13e43 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>
>
> --
> 2.7.4
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [tip: efi/urgent] efi/libstub: Fix missing-prototypes in string.c
  2020-09-21  1:53 [PATCH] efi/libstub: Fix missing-prototypes in string.c Tian Tao
  2020-09-24 14:38 ` Ard Biesheuvel
@ 2020-09-30  5:27 ` tip-bot2 for Tian Tao
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot2 for Tian Tao @ 2020-09-30  5:27 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: Tian Tao, Ard Biesheuvel, x86, LKML

The following commit has been merged into the efi/urgent branch of tip:

Commit-ID:     aad0f3d693bbb356b9478879ecd245d4f7a2beb0
Gitweb:        https://git.kernel.org/tip/aad0f3d693bbb356b9478879ecd245d4f7a2beb0
Author:        Tian Tao <tiantao6@hisilicon.com>
AuthorDate:    Mon, 21 Sep 2020 09:53:23 +08:00
Committer:     Ard Biesheuvel <ardb@kernel.org>
CommitterDate: Fri, 25 Sep 2020 23:29:04 +02:00

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>
---
 drivers/firmware/efi/libstub/string.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/firmware/efi/libstub/string.c b/drivers/firmware/efi/libstub/string.c
index 1ac2f87..5d13e43 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>
 

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-09-30  5:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-21  1:53 [PATCH] efi/libstub: Fix missing-prototypes in string.c Tian Tao
2020-09-24 14:38 ` Ard Biesheuvel
2020-09-30  5:27 ` [tip: efi/urgent] " tip-bot2 for Tian Tao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.