Re: [PATCH v2 2/3] Run dump pipe in container's namespace

From: kbuild test robot
Date: Fri Mar 18 2016 - 10:07:22 EST


Hi Zhao,

[auto build test ERROR on tip/sched/core]
[also build test ERROR on v4.5 next-20160318]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url: https://github.com/0day-ci/linux/commits/Zhao-Lei/Make-core_pattern-support-namespace/20160318-205506
config: um-x86_64_defconfig (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=um SUBARCH=x86_64

All errors (new ones prefixed by >>):

kernel/time/Kconfig:155:warning: range is invalid
In file included from arch/x86/um/asm/elf.h:9:0,
from include/linux/elf.h:4,
from arch/x86/um/shared/sysdep/kernel-offsets.h:3,
from arch/um/kernel/asm-offsets.c:1:
>> arch/um/include/shared/skas/skas.h:13:12: error: conflicting types for 'user_thread'
extern int user_thread(unsigned long stack, int flags);
^
In file included from arch/x86/um/shared/sysdep/kernel-offsets.h:2:0,
from arch/um/kernel/asm-offsets.c:1:
include/linux/sched.h:2652:14: note: previous declaration of 'user_thread' was here
extern pid_t user_thread(int (*fn)(void *), void *arg, unsigned long flags);
^
make[2]: *** [arch/um/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [sub-make] Error 2

vim +/user_thread +13 arch/um/include/shared/skas/skas.h

^1da177e4c arch/um/kernel/skas/include/skas.h Linus Torvalds 2005-04-16 7 #define __SKAS_H
^1da177e4c arch/um/kernel/skas/include/skas.h Linus Torvalds 2005-04-16 8
37185b3324 arch/um/include/shared/skas/skas.h Al Viro 2012-10-08 9 #include <sysdep/ptrace.h>
^1da177e4c arch/um/kernel/skas/include/skas.h Linus Torvalds 2005-04-16 10
^1da177e4c arch/um/kernel/skas/include/skas.h Linus Torvalds 2005-04-16 11 extern int userspace_pid[];
^1da177e4c arch/um/kernel/skas/include/skas.h Linus Torvalds 2005-04-16 12
^1da177e4c arch/um/kernel/skas/include/skas.h Linus Torvalds 2005-04-16 @13 extern int user_thread(unsigned long stack, int flags);
3c91735099 arch/um/include/skas/skas.h Jeff Dike 2006-09-27 14 extern void new_thread_handler(void);
77bf440031 arch/um/include/skas/skas.h Jeff Dike 2007-10-16 15 extern void handle_syscall(struct uml_pt_regs *regs);
^1da177e4c arch/um/kernel/skas/include/skas.h Linus Torvalds 2005-04-16 16 extern long execute_syscall_skas(void *r);

:::::: The code at line 13 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: Binary data