[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201804181902.l8Oa8c8g%fengguang.wu@intel.com>
Date: Wed, 18 Apr 2018 19:05:49 +0800
From: kbuild test robot <lkp@...el.com>
To: Dave Hansen <dave.hansen@...ux.intel.com>
Cc: kbuild-all@...org, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, Dave Hansen <dave.hansen@...ux.intel.com>,
mceier@...il.com, aaro.koskinen@...ia.com, aarcange@...hat.com,
luto@...nel.org, arjan@...ux.intel.com, bp@...en8.de,
dan.j.williams@...el.com, dwmw2@...radead.org,
gregkh@...uxfoundation.org, hughd@...gle.com, jpoimboe@...hat.com,
jgross@...e.com, keescook@...gle.com,
torvalds@...ux-foundation.org, namit@...are.com,
peterz@...radead.org, tglx@...utronix.de
Subject: Re: [PATCH 2/2] x86, pti: fix boot warning from Global-bit setting
Hi Dave,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on tip/x86/core]
[also build test ERROR on v4.17-rc1 next-20180418]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Dave-Hansen/x86-pti-fix-boot-problems-from-Global-bit-setting/20180418-181719
config: i386-randconfig-x000-201815 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
arch/x86/mm/pageattr.c: In function '__cpa_pfn_in_highmap':
>> arch/x86/mm/pageattr.c:1161:31: error: implicit declaration of function 'highmap_start_pfn'; did you mean 'node_start_pfn'? [-Werror=implicit-function-declaration]
return within_inclusive(pfn, highmap_start_pfn(),
^~~~~~~~~~~~~~~~~
node_start_pfn
>> arch/x86/mm/pageattr.c:1162:4: error: implicit declaration of function 'highmap_end_pfn'; did you mean 'pgdat_end_pfn'? [-Werror=implicit-function-declaration]
highmap_end_pfn());
^~~~~~~~~~~~~~~
pgdat_end_pfn
cc1: some warnings being treated as errors
vim +1161 arch/x86/mm/pageattr.c
1154
1155 bool __cpa_pfn_in_highmap(unsigned long pfn)
1156 {
1157 /*
1158 * Kernel text has an alias mapping at a high address, known
1159 * here as "highmap".
1160 */
> 1161 return within_inclusive(pfn, highmap_start_pfn(),
> 1162 highmap_end_pfn());
1163 }
1164
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (28116 bytes)
Powered by blists - more mailing lists