[RFC PATCH] x86/boot: efi_kernel_boot_services_overlap can be static

From: kbuild test robot
Date: Sat Jul 29 2017 - 09:02:01 EST



Fixes: 7ebe6cf3a6da ("x86/boot: check overlap between kernel and EFI_BOOT_SERVICES_*")
Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
---
misc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/boot/compressed/misc.c b/arch/x86/boot/compressed/misc.c
index b23159f..981d5f3 100644
--- a/arch/x86/boot/compressed/misc.c
+++ b/arch/x86/boot/compressed/misc.c
@@ -172,7 +172,7 @@ void __puthex(unsigned long value)
}

#ifdef CONFIG_EFI
-bool __init
+static bool __init
efi_kernel_boot_services_overlap(unsigned long start, unsigned long size)
{
int i;