Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753828AbdG2NBn (ORCPT ); Sat, 29 Jul 2017 09:01:43 -0400 Received: from mga01.intel.com ([192.55.52.88]:34168 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753802AbdG2NBk (ORCPT ); Sat, 29 Jul 2017 09:01:40 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,430,1496127600"; d="scan'208";a="133450646" Date: Sat, 29 Jul 2017 21:01:18 +0800 From: kbuild test robot To: Naoya Horiguchi Cc: kbuild-all@01.org, Baoquan He , Matt Fleming , Kees Cook , "linux-kernel@vger.kernel.org" , "x86@kernel.org" , Thomas Gleixner , "H. Peter Anvin" , Ingo Molnar , "izumi.taku@jp.fujitsu.com" , Thomas Garnier , "fanc.fnst@cn.fujitsu.com" , Junichi Nomura , Ard Biesheuvel , "dyoung@redhat.com" Subject: [RFC PATCH] x86/boot: efi_kernel_boot_services_overlap can be static Message-ID: <20170729130118.GA126852@ivb42> References: <201707292013.OU7uSwbF%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170728064810.GA26208@hori1.linux.bs1.fc.nec.co.jp> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 595 Lines: 20 Fixes: 7ebe6cf3a6da ("x86/boot: check overlap between kernel and EFI_BOOT_SERVICES_*") Signed-off-by: Fengguang Wu --- 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;