Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1559744

Re: [PATCHv2 3/5] x86/mm: fix native mmap() in compat bins and vice-versa

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCHv2 3/5] x86/mm: fix native mmap() in compat bins and vice-versa
Date 2017-01-16 14:40 +0100
Message-ID <t0fFV-10y-33@gated-at.bofh.it> (permalink)
References <t0fFV-10y-35@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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: x86_64-randconfig-x001-201703 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   arch/x86/kernel/sys_x86_64.c: In function 'find_start_end':
>> arch/x86/kernel/sys_x86_64.c:122:7: error: implicit declaration of function 'in_compat_syscall' [-Werror=implicit-function-declaration]
      if (in_compat_syscall()) {
          ^~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/in_compat_syscall +122 arch/x86/kernel/sys_x86_64.c

   116			return;
   117		}
   118	
   119		if (!test_thread_flag(TIF_ADDR32)) {
   120	#ifdef CONFIG_COMPAT
   121			/* 64-bit native binary doing compat 32-bit syscall */
 > 122			if (in_compat_syscall()) {
   123				*begin = mmap_legacy_base(arch_compat_rnd(),
   124							IA32_PAGE_OFFSET);
   125				*end = IA32_PAGE_OFFSET;

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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCHv2 3/5] x86/mm: fix native mmap() in compat bins and  vice-versa kbuild test robot <lkp@intel.com> - 2017-01-16 14:40 +0100

csiph-web