Re: [PATCH v4 1/6] x86/arch_prctl/64 Use SYSCALL_DEFINE2 to define sys_arch_prctl

From: kbuild test robot
Date: Mon Sep 19 2016 - 02:00:23 EST

Hi Kyle,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.8-rc7 next-20160916]
[cannot apply to tip/x86/core]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check for more information]

config: um-x86_64_defconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
# save the attached .config to linux build tree
make ARCH=um SUBARCH=x86_64

All errors (new ones prefixed by >>):

>> arch/x86/um/syscalls_64.c:75:29: error: expected ')' before 'int'
SYSCALL_DEFINE2(arch_prctl, int, code, unsigned long, addr)

vim +75 arch/x86/um/syscalls_64.c

69 break;
70 }
72 return ret;
73 }
> 75 SYSCALL_DEFINE2(arch_prctl, int, code, unsigned long, addr)
76 {
77 return arch_prctl(current, code, (unsigned long __user *) addr);
78 }

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation

Attachment: .config.gz
Description: application/gzip