tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 888c8375131656144c1605071eab2eb6ac49abc3 commit: 07dff8ae2bc5c3adf387f95c4d6864b1d06866f2 [1761/2084] mm: warn about VmData over RLIMIT_DATA config: mn10300-asb2364_defconfig (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 git checkout 07dff8ae2bc5c3adf387f95c4d6864b1d06866f2 # save the attached .config to linux build tree make.cross ARCH=mn10300 All errors (new ones prefixed by >>): In file included from arch/mn10300/include/asm/thread_info.h:17:0, from include/linux/thread_info.h:54, from include/asm-generic/preempt.h:4, from arch/mn10300/include/generated/asm/preempt.h:1, from include/linux/preempt.h:59, from include/linux/spinlock.h:50, from include/linux/wait.h:8, from include/linux/fs.h:5, from include/linux/dax.h:4, from mm/filemap.c:14: mm/internal.h: In function 'is_stack_mapping': >> arch/mn10300/include/asm/page.h:124:27: error: 'READ_IMPLIES_EXEC' undeclared (first use in this function) ((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0) | \ ^ include/linux/mm.h:200:32: note: in expansion of macro 'VM_DATA_DEFAULT_FLAGS' #define VM_STACK_DEFAULT_FLAGS VM_DATA_DEFAULT_FLAGS ^ include/linux/mm.h:206:40: note: in expansion of macro 'VM_STACK_DEFAULT_FLAGS' #define VM_STACK_FLAGS (VM_GROWSDOWN | VM_STACK_DEFAULT_FLAGS | VM_ACCOUNT) ^ mm/internal.h:226:19: note: in expansion of macro 'VM_STACK_FLAGS' return (flags & (VM_STACK_FLAGS & (VM_GROWSUP | VM_GROWSDOWN))) != 0; ^ arch/mn10300/include/asm/page.h:124:27: note: each undeclared identifier is reported only once for each function it appears in ((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0) | \ ^ include/linux/mm.h:200:32: note: in expansion of macro 'VM_DATA_DEFAULT_FLAGS' #define VM_STACK_DEFAULT_FLAGS VM_DATA_DEFAULT_FLAGS ^ include/linux/mm.h:206:40: note: in expansion of macro 'VM_STACK_DEFAULT_FLAGS' #define VM_STACK_FLAGS (VM_GROWSDOWN | VM_STACK_DEFAULT_FLAGS | VM_ACCOUNT) ^ mm/internal.h:226:19: note: in expansion of macro 'VM_STACK_FLAGS' return (flags & (VM_STACK_FLAGS & (VM_GROWSUP | VM_GROWSDOWN))) != 0; ^ mm/internal.h: In function 'is_data_mapping': >> arch/mn10300/include/asm/page.h:124:27: error: 'READ_IMPLIES_EXEC' undeclared (first use in this function) ((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0) | \ ^ include/linux/mm.h:200:32: note: in expansion of macro 'VM_DATA_DEFAULT_FLAGS' #define VM_STACK_DEFAULT_FLAGS VM_DATA_DEFAULT_FLAGS ^ include/linux/mm.h:206:40: note: in expansion of macro 'VM_STACK_DEFAULT_FLAGS' #define VM_STACK_FLAGS (VM_GROWSDOWN | VM_STACK_DEFAULT_FLAGS | VM_ACCOUNT) ^ mm/internal.h:231:20: note: in expansion of macro 'VM_STACK_FLAGS' return (flags & ((VM_STACK_FLAGS & (VM_GROWSUP | VM_GROWSDOWN)) | ^ vim +/READ_IMPLIES_EXEC +124 arch/mn10300/include/asm/page.h b920de1b include/asm-mn10300/page.h David Howells 2008-02-08 108 #define pfn_to_page(pfn) (mem_map + ((pfn) - __pfn_disp)) b920de1b include/asm-mn10300/page.h David Howells 2008-02-08 109 #define page_to_pfn(page) ((unsigned long)((page) - mem_map) + __pfn_disp) d2c0f041 arch/mn10300/include/asm/page.h Dan Williams 2016-01-15 110 #define __pfn_to_phys(pfn) PFN_PHYS(pfn) b920de1b include/asm-mn10300/page.h David Howells 2008-02-08 111 b920de1b include/asm-mn10300/page.h David Howells 2008-02-08 112 #define pfn_valid(pfn) \ b920de1b include/asm-mn10300/page.h David Howells 2008-02-08 113 ({ \ b920de1b include/asm-mn10300/page.h David Howells 2008-02-08 114 unsigned long __pfn = (pfn) - __pfn_disp; \ b920de1b include/asm-mn10300/page.h David Howells 2008-02-08 115 __pfn < max_mapnr; \ b920de1b include/asm-mn10300/page.h David Howells 2008-02-08 116 }) b920de1b include/asm-mn10300/page.h David Howells 2008-02-08 117 b920de1b include/asm-mn10300/page.h David Howells 2008-02-08 118 #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) b920de1b include/asm-mn10300/page.h David Howells 2008-02-08 119 #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT) b920de1b include/asm-mn10300/page.h David Howells 2008-02-08 120 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) b920de1b include/asm-mn10300/page.h David Howells 2008-02-08 121 b920de1b include/asm-mn10300/page.h David Howells 2008-02-08 122 #define VM_DATA_DEFAULT_FLAGS \ b920de1b include/asm-mn10300/page.h David Howells 2008-02-08 123 (VM_READ | VM_WRITE | \ b920de1b include/asm-mn10300/page.h David Howells 2008-02-08 @124 ((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0) | \ b920de1b include/asm-mn10300/page.h David Howells 2008-02-08 125 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) b920de1b include/asm-mn10300/page.h David Howells 2008-02-08 126 b920de1b include/asm-mn10300/page.h David Howells 2008-02-08 127 #endif /* __KERNEL__ */ b920de1b include/asm-mn10300/page.h David Howells 2008-02-08 128 b920de1b include/asm-mn10300/page.h David Howells 2008-02-08 129 #endif /* _ASM_PAGE_H */ :::::: The code at line 124 was first introduced by commit :::::: b920de1b77b72ca9432ac3f97edb26541e65e5dd mn10300: add the MN10300/AM33 architecture to the kernel :::::: TO: David Howells <dhowells@xxxxxxxxxx> :::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data