lkml.org 
[lkml]   [2020]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] x86/efi: Add a prototype for efi_arch_mem_reserve()
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
>

\
 
 \ /
  Last update: 2020-04-08 19:41    [W:0.042 / U:0.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site