lkml.org 
[lkml]   [2015]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH RFC v3 2/2] pidns: introduce syscall getvpid
Hi Konstantin,

[auto build test results on next-20150925 -- if it's inappropriate base, please ignore]

config: openrisc-or1ksim_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 7bea85b3c058d69527d79b94338025f218a0655e
# save the attached .config to linux build tree
make.cross ARCH=openrisc

All warnings (new ones prefixed by >>):

In file included from include/asm-generic/unistd.h:1:0,
from arch/openrisc/include/uapi/asm/unistd.h:26,
from <stdin>:2:
>> include/uapi/asm-generic/unistd.h:718:0: warning: "__NR_mlock2" redefined
include/uapi/asm-generic/unistd.h:716:0: note: this is the location of the previous definition
<stdin>:1307:2: warning: #warning syscall getvpid not implemented
--
In file included from include/asm-generic/unistd.h:1:0,
from arch/openrisc/include/uapi/asm/unistd.h:26,
from include/uapi/linux/unistd.h:7,
from arch/openrisc/kernel/setup.c:25:
>> include/uapi/asm-generic/unistd.h:718:0: warning: "__NR_mlock2" redefined
include/uapi/asm-generic/unistd.h:716:0: note: this is the location of the previous definition
--
In file included from include/asm-generic/unistd.h:1:0,
from arch/openrisc/include/uapi/asm/unistd.h:26,
from include/uapi/linux/unistd.h:7,
from include/linux/syscalls.h:78,
from arch/openrisc/kernel/sys_call_table.c:17:
>> include/uapi/asm-generic/unistd.h:718:0: warning: "__NR_mlock2" redefined
include/uapi/asm-generic/unistd.h:716:0: note: this is the location of the previous definition
In file included from include/asm-generic/unistd.h:1:0,
from arch/openrisc/include/uapi/asm/unistd.h:26,
from arch/openrisc/kernel/sys_call_table.c:27:
include/uapi/asm-generic/unistd.h:716:0: warning: "__NR_mlock2" redefined
include/uapi/asm-generic/unistd.h:718:0: note: this is the location of the previous definition
>> include/uapi/asm-generic/unistd.h:718:0: warning: "__NR_mlock2" redefined
include/uapi/asm-generic/unistd.h:716:0: note: this is the location of the previous definition
include/uapi/asm-generic/unistd.h:719:1: error: '__NR_getvpid' undeclared here (not in a function)
include/uapi/asm-generic/unistd.h:719:1: error: array index in initializer not of integer type
include/uapi/asm-generic/unistd.h:719:1: error: (near initialization for 'sys_call_table')
--
kernel/time/Kconfig:155:warning: range is invalid
In file included from include/asm-generic/unistd.h:1:0,
from arch/openrisc/include/uapi/asm/unistd.h:26,
from <stdin>:2:
>> include/uapi/asm-generic/unistd.h:718:0: warning: "__NR_mlock2" redefined
include/uapi/asm-generic/unistd.h:716:0: note: this is the location of the previous definition
<stdin>:1307:2: warning: #warning syscall getvpid not implemented

vim +/__NR_mlock2 +718 include/uapi/asm-generic/unistd.h

702 #define __NR_seccomp 277
703 __SYSCALL(__NR_seccomp, sys_seccomp)
704 #define __NR_getrandom 278
705 __SYSCALL(__NR_getrandom, sys_getrandom)
706 #define __NR_memfd_create 279
707 __SYSCALL(__NR_memfd_create, sys_memfd_create)
708 #define __NR_bpf 280
709 __SYSCALL(__NR_bpf, sys_bpf)
710 #define __NR_execveat 281
711 __SC_COMP(__NR_execveat, sys_execveat, compat_sys_execveat)
712 #define __NR_userfaultfd 282
713 __SYSCALL(__NR_userfaultfd, sys_userfaultfd)
714 #define __NR_membarrier 283
715 __SYSCALL(__NR_membarrier, sys_membarrier)
716 #define __NR_mlock2 284
717 __SYSCALL(__NR_mlock2, sys_mlock2)
> 718 #define __NR_mlock2 285
719 __SYSCALL(__NR_getvpid, sys_getvpid)
720
721 #undef __NR_syscalls
722 #define __NR_syscalls 286
723
724 /*
725 * All syscalls below here should go away really,
726 * these are provided for both review and as a porting

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2015-09-28 06:21    [W:0.158 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site