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 https://git-scm.com/docs/git-format-patch for more information]

url: https://github.com/0day-ci/linux/commits/Kyle-Huey/x86-arch_prctl-Add-ARCH_-GET-SET-_CPUID-for-controlling-the-CPUID-instruction/20160919-122330
config: um-x86_64_defconfig (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=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 }
71
72 return ret;
73 }
74
> 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
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip