Re: [tip:x86/urgent 2/2] include/linux/syscalls.h:194:18: error: conflicting types for 'sys_sigreturn'
From: Thomas Gleixner
Date: Wed Mar 14 2018 - 17:27:24 EST
On Thu, 15 Mar 2018, kbuild test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/urgent
> head: 1227b344de283f96c41de02cde4b26d5290f5302
> commit: 1227b344de283f96c41de02cde4b26d5290f5302 [2/2] x86/sigreturn: Use SYSCALL_DEFINE0
> config: i386-randconfig-x073-201810 (attached as .config)
> compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
> reproduce:
> git checkout 1227b344de283f96c41de02cde4b26d5290f5302
> # save the attached .config to linux build tree
> make ARCH=i386
>
> All error/warnings (new ones prefixed by >>):
>
> In file included from arch/x86/kernel/signal.c:28:0:
> >> include/linux/syscalls.h:194:18: error: conflicting types for 'sys_sigreturn'
> asmlinkage long sys_##sname(void)
> ^
> >> arch/x86/kernel/signal.c:605:1: note: in expansion of macro 'SYSCALL_DEFINE0'
> SYSCALL_DEFINE0(sigreturn)
> ^~~~~~~~~~~~~~~
Zapped the commit. Michael, can you please have a look?
Thanks,
tglx