Hi Rick, [auto build test ERROR on powerpc/next] [also build test ERROR on next-20170413] [cannot apply to v4.11-rc6] [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/ricklind-linux-vnet-ibm-com/arch-powerpc-mm-slice-Cleanup-leftover-use-of-task_size/20170413-182643 base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next config: powerpc-defconfig (attached as .config) compiler: powerpc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 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=powerpc All errors (new ones prefixed by >>): arch/powerpc/mm/slice.c: In function 'slice_area_is_free': >> arch/powerpc/mm/slice.c:99:9: error: 'struct mm_struct' has no member named >> 'addr_limit' if ((mm->addr_limit - len) < addr) ^~ arch/powerpc/mm/slice.c: In function 'slice_mask_for_free': arch/powerpc/mm/slice.c:136:8: error: 'struct mm_struct' has no member named 'addr_limit' if (mm->addr_limit <= SLICE_LOW_TOP) ^~ In file included from include/linux/bug.h:4:0, from include/linux/mmdebug.h:4, from include/linux/mm.h:8, from arch/powerpc/mm/slice.c:28: arch/powerpc/mm/slice.c: In function 'slice_get_unmapped_area': arch/powerpc/mm/slice.c:447:11: error: 'struct mm_struct' has no member named 'addr_limit' BUG_ON(mm->addr_limit == 0); ^ arch/powerpc/include/asm/bug.h:75:27: note: in definition of macro 'BUG_ON' if (__builtin_constant_p(x)) { \ ^ arch/powerpc/mm/slice.c:447:11: error: 'struct mm_struct' has no member named 'addr_limit' BUG_ON(mm->addr_limit == 0); ^ arch/powerpc/include/asm/bug.h:76:7: note: in definition of macro 'BUG_ON' if (x) \ ^ arch/powerpc/mm/slice.c:447:11: error: 'struct mm_struct' has no member named 'addr_limit' BUG_ON(mm->addr_limit == 0); ^ arch/powerpc/include/asm/bug.h:84:25: note: in definition of macro 'BUG_ON' "r" ((__force long)(x))); \ ^ arch/powerpc/mm/slice.c:454:14: error: 'struct mm_struct' has no member named 'addr_limit' if (len > mm->addr_limit) ^~ arch/powerpc/mm/slice.c:460:25: error: 'struct mm_struct' has no member named 'addr_limit' if (fixed && addr > (mm->addr_limit - len)) ^~ arch/powerpc/mm/slice.c:468:16: error: 'struct mm_struct' has no member named 'addr_limit' if (addr > mm->addr_limit - len || ^~ vim +99 arch/powerpc/mm/slice.c 93 94 static int slice_area_is_free(struct mm_struct *mm, unsigned long addr, 95 unsigned long len) 96 { 97 struct vm_area_struct *vma; 98 > 99 if ((mm->addr_limit - len) < addr) 100 return 0; 101 vma = find_vma(mm, addr); 102 return (!vma || (addr + len) <= vma->vm_start); --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: application/gzip