* [PATCH] x86/efi: Add a prototype for efi_arch_mem_reserve()
@ 2020-03-26 13:50 Benjamin Thiel
2020-04-08 17:39 ` Ard Biesheuvel
0 siblings, 1 reply; 4+ messages in thread
From: Benjamin Thiel @ 2020-03-26 13:50 UTC (permalink / raw)
To: X86 ML; +Cc: LKML, linux-efi, Benjamin Thiel
... in order to fix a -Wmissing-ptototypes warning:
arch/x86/platform/efi/quirks.c:245:13: warning:
no previous prototype for ‘efi_arch_mem_reserve’ [-Wmissing-prototypes]
void __init efi_arch_mem_reserve(phys_addr_t addr, u64 size)
Signed-off-by: Benjamin Thiel <b.thiel@posteo.de>
---
include/linux/efi.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/efi.h b/include/linux/efi.h
index 7efd7072cca5..e4b28ae1ba61 100644
--- a/include/linux/efi.h
+++ b/include/linux/efi.h
@@ -1703,4 +1703,6 @@ struct linux_efi_memreserve {
void efi_pci_disable_bridge_busmaster(void);
+void __init efi_arch_mem_reserve(phys_addr_t addr, u64 size);
+
#endif /* _LINUX_EFI_H */
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] x86/efi: Add a prototype for efi_arch_mem_reserve()
2020-03-26 13:50 [PATCH] x86/efi: Add a prototype for efi_arch_mem_reserve() Benjamin Thiel
@ 2020-04-08 17:39 ` Ard Biesheuvel
2020-04-08 17:57 ` Borislav Petkov
0 siblings, 1 reply; 4+ messages in thread
From: Ard Biesheuvel @ 2020-04-08 17:39 UTC (permalink / raw)
To: Benjamin Thiel; +Cc: X86 ML, LKML, linux-efi
On Thu, 26 Mar 2020 at 14:50, Benjamin Thiel <b.thiel@posteo.de> wrote:
>
> ... in order to fix a -Wmissing-ptototypes warning:
>
> arch/x86/platform/efi/quirks.c:245:13: warning:
> no previous prototype for ‘efi_arch_mem_reserve’ [-Wmissing-prototypes]
> void __init efi_arch_mem_reserve(phys_addr_t addr, u64 size)
>
> Signed-off-by: Benjamin Thiel <b.thiel@posteo.de>
Thanks. I'll queue this as a fix.
> ---
> include/linux/efi.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/include/linux/efi.h b/include/linux/efi.h
> index 7efd7072cca5..e4b28ae1ba61 100644
> --- a/include/linux/efi.h
> +++ b/include/linux/efi.h
> @@ -1703,4 +1703,6 @@ struct linux_efi_memreserve {
>
> void efi_pci_disable_bridge_busmaster(void);
>
> +void __init efi_arch_mem_reserve(phys_addr_t addr, u64 size);
> +
> #endif /* _LINUX_EFI_H */
> --
> 2.17.1
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] x86/efi: Add a prototype for efi_arch_mem_reserve()
2020-04-08 17:39 ` Ard Biesheuvel
@ 2020-04-08 17:57 ` Borislav Petkov
2020-04-09 7:13 ` Ard Biesheuvel
0 siblings, 1 reply; 4+ messages in thread
From: Borislav Petkov @ 2020-04-08 17:57 UTC (permalink / raw)
To: Ard Biesheuvel; +Cc: Benjamin Thiel, X86 ML, LKML, linux-efi
On Wed, Apr 08, 2020 at 07:39:56PM +0200, Ard Biesheuvel wrote:
> On Thu, 26 Mar 2020 at 14:50, Benjamin Thiel <b.thiel@posteo.de> wrote:
> >
> > ... in order to fix a -Wmissing-ptototypes warning:
> >
> > arch/x86/platform/efi/quirks.c:245:13: warning:
> > no previous prototype for ‘efi_arch_mem_reserve’ [-Wmissing-prototypes]
> > void __init efi_arch_mem_reserve(phys_addr_t addr, u64 size)
> >
> > Signed-off-by: Benjamin Thiel <b.thiel@posteo.de>
>
> Thanks. I'll queue this as a fix.
I already took that one, see:
860f89e61824 ("x86/efi: Add a prototype for efi_arch_mem_reserve()")
but forgot to Cc: linux-efi@.
Sorry about that.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] x86/efi: Add a prototype for efi_arch_mem_reserve()
2020-04-08 17:57 ` Borislav Petkov
@ 2020-04-09 7:13 ` Ard Biesheuvel
0 siblings, 0 replies; 4+ messages in thread
From: Ard Biesheuvel @ 2020-04-09 7:13 UTC (permalink / raw)
To: Borislav Petkov; +Cc: Benjamin Thiel, X86 ML, LKML, linux-efi
On Wed, 8 Apr 2020 at 19:58, Borislav Petkov <bp@alien8.de> wrote:
>
> On Wed, Apr 08, 2020 at 07:39:56PM +0200, Ard Biesheuvel wrote:
> > On Thu, 26 Mar 2020 at 14:50, Benjamin Thiel <b.thiel@posteo.de> wrote:
> > >
> > > ... in order to fix a -Wmissing-ptototypes warning:
> > >
> > > arch/x86/platform/efi/quirks.c:245:13: warning:
> > > no previous prototype for ‘efi_arch_mem_reserve’ [-Wmissing-prototypes]
> > > void __init efi_arch_mem_reserve(phys_addr_t addr, u64 size)
> > >
> > > Signed-off-by: Benjamin Thiel <b.thiel@posteo.de>
> >
> > Thanks. I'll queue this as a fix.
>
> I already took that one, see:
>
> 860f89e61824 ("x86/efi: Add a prototype for efi_arch_mem_reserve()")
>
> but forgot to Cc: linux-efi@.
>
> Sorry about that.
>
No worries.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-04-09 7:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-26 13:50 [PATCH] x86/efi: Add a prototype for efi_arch_mem_reserve() Benjamin Thiel
2020-04-08 17:39 ` Ard Biesheuvel
2020-04-08 17:57 ` Borislav Petkov
2020-04-09 7:13 ` Ard Biesheuvel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).