Re: [PATCHv4 1/2] mm/page_poison.c: Enable PAGE_POISONING as a separate option

From: kbuild test robot
Date: Fri Mar 04 2016 - 19:19:25 EST


Hi Laura,

[auto build test ERROR on v4.5-rc6]
[cannot apply to next-20160304]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url: https://github.com/0day-ci/linux/commits/Laura-Abbott/mm-page_poison-c-Enable-PAGE_POISONING-as-a-separate-option/20160305-075416
config: sparc64-allyesconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=sparc64

All errors (new ones prefixed by >>):

mm/page_poison.c: In function 'init_page_poisoning':
>> mm/page_poison.c:43:3: error: implicit declaration of function 'debug_pagealloc_enabled' [-Werror=implicit-function-declaration]
if (!want_page_poisoning && !debug_pagealloc_enabled())
^
cc1: some warnings being treated as errors

vim +/debug_pagealloc_enabled +43 mm/page_poison.c

37 {
38 /*
39 * page poisoning is debug page alloc for some arches. If either
40 * of those options are enabled, enable poisoning
41 */
42 if (!IS_ENABLED(CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC)) {
> 43 if (!want_page_poisoning && !debug_pagealloc_enabled())
44 return;
45 } else {
46 if (!want_page_poisoning)

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data