Re: [PATCH 2/2] mm,fork: introduce MADV_WIPEONFORK

From: kbuild test robot
Date: Mon Aug 14 2017 - 11:45:38 EST


Hi Rik,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.13-rc5]
[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/riel-redhat-com/mm-fork-security-introduce-MADV_WIPEONFORK/20170806-035914
config: m68k-sun3_defconfig (attached as .config)
compiler: m68k-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=m68k

All errors (new ones prefixed by >>):

In file included from mm/debug.c:12:0:
>> include/trace/events/mmflags.h:131:31: error: 'VM_ARCH_2' undeclared here (not in a function)
#define __VM_ARCH_SPECIFIC_2 {VM_ARCH_2, "arch_2" }
^
include/trace/events/mmflags.h:165:2: note: in expansion of macro '__VM_ARCH_SPECIFIC_2'
__VM_ARCH_SPECIFIC_2 , \
^
mm/debug.c:39:2: note: in expansion of macro '__def_vmaflag_names'
__def_vmaflag_names,
^

vim +/VM_ARCH_2 +131 include/trace/events/mmflags.h

bcf669179 Kirill A. Shutemov 2016-03-17 127
bcf669179 Kirill A. Shutemov 2016-03-17 128 #if defined(CONFIG_X86)
bcf669179 Kirill A. Shutemov 2016-03-17 129 #define __VM_ARCH_SPECIFIC_2 {VM_MPX, "mpx" }
bcf669179 Kirill A. Shutemov 2016-03-17 130 #else
bcf669179 Kirill A. Shutemov 2016-03-17 @131 #define __VM_ARCH_SPECIFIC_2 {VM_ARCH_2, "arch_2" }
420adbe9f Vlastimil Babka 2016-03-15 132 #endif
420adbe9f Vlastimil Babka 2016-03-15 133

:::::: The code at line 131 was first introduced by commit
:::::: bcf6691797f425b301f629bb783b7ff2d0bcfa5a mm, tracing: refresh __def_vmaflag_names

:::::: TO: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip