Hi Dmitry, [auto build test ERROR on tip/x86/core] [also build test ERROR on v4.10-rc4 next-20170116] [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/Dmitry-Safonov/Fix-compatible-mmap-return-pointer-over-4Gb/20170116-204523 config: i386-randconfig-i1-201703 (attached as .config) compiler: gcc-4.8 (Debian 4.8.4-1) 4.8.4 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): mm/mmap.c: In function 'arch_get_unmapped_area_topdown': >> mm/mmap.c:2039:20: error: 'TASK_UNMAPPED_BASE' undeclared (first use in this function) info.low_limit = TASK_UNMAPPED_BASE; ^ mm/mmap.c:2039:20: note: each undeclared identifier is reported only once for each function it appears in vim +/TASK_UNMAPPED_BASE +2039 mm/mmap.c ^1da177e Linus Torvalds 2005-04-16 2033 * can happen with large stack limits and large mmap() ^1da177e Linus Torvalds 2005-04-16 2034 * allocations. ^1da177e Linus Torvalds 2005-04-16 2035 */ de1741a1 Alexander Kuleshov 2015-11-05 2036 if (offset_in_page(addr)) { db4fbfb9 Michel Lespinasse 2012-12-11 2037 VM_BUG_ON(addr != -ENOMEM); db4fbfb9 Michel Lespinasse 2012-12-11 2038 info.flags = 0; db4fbfb9 Michel Lespinasse 2012-12-11 @2039 info.low_limit = TASK_UNMAPPED_BASE; db4fbfb9 Michel Lespinasse 2012-12-11 2040 info.high_limit = TASK_SIZE; db4fbfb9 Michel Lespinasse 2012-12-11 2041 addr = vm_unmapped_area(&info); db4fbfb9 Michel Lespinasse 2012-12-11 2042 } :::::: The code at line 2039 was first introduced by commit :::::: db4fbfb9523c93583c339e66023506f651c1d54b mm: vm_unmapped_area() lookup function :::::: TO: Michel Lespinasse <walken@xxxxxxxxxx> :::::: 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