Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1167117AbdDXItE (ORCPT ); Mon, 24 Apr 2017 04:49:04 -0400 Received: from mga06.intel.com ([134.134.136.31]:48142 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1166163AbdDXIs4 (ORCPT ); Mon, 24 Apr 2017 04:48:56 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,243,1488873600"; d="scan'208";a="1139366379" Date: Mon, 24 Apr 2017 16:48:18 +0800 From: kbuild test robot To: Baoquan He Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org, keescook@chromium.org, mingo@kernel.org, dave.jiang@intel.com, dan.j.williams@intel.com, hpa@zytor.com, tglx@linutronix.de, dyoung@redhat.com, Baoquan He , Ingo Molnar , x86@kernel.org, Yinghai Lu , Borislav Petkov Subject: [RFC PATCH] KASLR: mem_avoid_memmap_index can be static Message-ID: <20170424084818.GA10777@lkp-wsm-ep2> References: <201704241606.VlTnAXb4%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1493001650-5793-2-git-send-email-bhe@redhat.com> 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: 530 Lines: 19 Signed-off-by: Fengguang Wu --- kaslr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/boot/compressed/kaslr.c b/arch/x86/boot/compressed/kaslr.c index 6649ecd..7190d35 100644 --- a/arch/x86/boot/compressed/kaslr.c +++ b/arch/x86/boot/compressed/kaslr.c @@ -75,7 +75,7 @@ struct mem_vector { #define MAX_MEMMAP_REGIONS 4 static bool memmap_too_large; -int mem_avoid_memmap_index; +static int mem_avoid_memmap_index; extern unsigned long get_cmd_line_ptr(void);