Re: [PATCH] mm: introduce MADV_CLR_HUGEPAGE

From: kbuild test robot
Date: Mon May 22 2017 - 11:34:41 EST


Hi Mike,

[auto build test ERROR on mmotm/master]
[also build test ERROR on v4.12-rc2 next-20170522]
[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/Mike-Rapoport/mm-introduce-MADV_CLR_HUGEPAGE/20170522-212244
base: git://git.cmpxchg.org/linux-mmotm.git master
config: xtensa-allmodconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=xtensa

All errors (new ones prefixed by >>):

mm/madvise.c: In function 'madvise_behavior':
>> mm/madvise.c:108:7: error: 'MADV_CLR_HUGEPAGE' undeclared (first use in this function)
case MADV_CLR_HUGEPAGE:
^
mm/madvise.c:108:7: note: each undeclared identifier is reported only once for each function it appears in

vim +/MADV_CLR_HUGEPAGE +108 mm/madvise.c

102 error = -EAGAIN;
103 goto out;
104 }
105 break;
106 case MADV_HUGEPAGE:
107 case MADV_NOHUGEPAGE:
> 108 case MADV_CLR_HUGEPAGE:
109 error = hugepage_madvise(vma, &new_flags, behavior);
110 if (error) {
111 /*

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

Attachment: .config.gz
Description: application/gzip