Skip to contentSkip to conversation

x86/efi: Add a prototype for efi_arch_mem_reserve()

PATCH Applied Benjamin Thiel 4 participants 5 messages Mar 26, 2020 – Apr 9, 2020 EFI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/efi: Add a prototype for efi_arch_mem_reserve()

... 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)

---
 include/linux/efi.h | 2 ++
 1 file changed, 2 insertions(+)
include/linux/efi.h +2 -0
index 7efd7072cca5..e4b28ae1ba61 100644
@@ -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 */
Signature · 1 line
2.17.1
merge bot Applied
#1 lore raw
The following commit has been merged into the x86/cleanups branch of tip:

The following commit has been merged into the x86/cleanups branch of tip:

Commit-ID:     860f89e6182479149bb6c27f5f44989b0628a176
Gitweb:        https://git.kernel.org/tip/860f89e6182479149bb6c27f5f44989b0628a176
Author:        Benjamin Thiel <[email protected]>
AuthorDate:    Thu, 26 Mar 2020 14:50:41 +01:00
Committer:     Borislav Petkov <[email protected]>
CommitterDate: Fri, 27 Mar 2020 11:21:21 +01:00

x86/efi: Add a prototype for efi_arch_mem_reserve()

... 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)

---
 include/linux/efi.h | 2 ++
 1 file changed, 2 insertions(+)
include/linux/efi.h +2 -0
index 7efd707..e4b28ae 100644
@@ -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 */
maintainer
#2 lore raw
In reply to Benjamin Thiel
Quoted 8 lines · 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)

Thanks. I'll queue this as a fix.

Quoted 18 lines
---
 include/linux/efi.h | 2 ++
 1 file changed, 2 insertions(+)
include/linux/efi.h +2 -1
index 7efd7072cca5..e4b28ae1ba61 100644
@@ -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

#3 lore raw
Quoted 11 lines · Ard Biesheuvel
Quoted 8 lines · 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)

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.

Signature · 4 lines
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette
maintainer
#4 lore raw
Quoted 14 lines · Borislav Petkov
Quoted 11 lines · Ard Biesheuvel
Quoted 8 lines · 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)

Thanks. I'll queue this as a fix.

Quoted 8 lines

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.