linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [tip:x86/urgent 2/2] include/linux/syscalls.h:194:18: error: conflicting types for 'sys_sigreturn'
@ 2018-03-14 20:56 kbuild test robot
  2018-03-14 21:27 ` Thomas Gleixner
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2018-03-14 20:56 UTC (permalink / raw)
  To: Tautschnig, Michael
  Cc: kbuild-all, linux-kernel, tipbuild, Thomas Gleixner, Michael Tautschnig

[-- Attachment #1: Type: text/plain, Size: 2503 bytes --]

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)
    ^~~~~~~~~~~~~~~
   In file included from arch/x86/kernel/signal.c:45:0:
   arch/x86/include/asm/syscalls.h:37:26: note: previous declaration of 'sys_sigreturn' was here
    asmlinkage unsigned long sys_sigreturn(void);
                             ^~~~~~~~~~~~~
--
   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)
    ^~~~~~~~~~~~~~~
   In file included from arch/x86//kernel/signal.c:45:0:
   arch/x86/include/asm/syscalls.h:37:26: note: previous declaration of 'sys_sigreturn' was here
    asmlinkage unsigned long sys_sigreturn(void);
                             ^~~~~~~~~~~~~

vim +/sys_sigreturn +194 include/linux/syscalls.h

bed1ffca Frederic Weisbecker 2009-03-13  191  
bed1ffca Frederic Weisbecker 2009-03-13  192  #define SYSCALL_DEFINE0(sname)					\
99e621f7 Al Viro             2013-03-05  193  	SYSCALL_METADATA(_##sname, 0);				\
bed1ffca Frederic Weisbecker 2009-03-13 @194  	asmlinkage long sys_##sname(void)
bed1ffca Frederic Weisbecker 2009-03-13  195  

:::::: The code at line 194 was first introduced by commit
:::::: bed1ffca022cc876fb83161d26670e9b5d3cf36b tracing/syscalls: core infrastructure for syscalls tracing, enhancements

:::::: TO: Frederic Weisbecker <fweisbec@gmail.com>
:::::: CC: Ingo Molnar <mingo@elte.hu>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34239 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [tip:x86/urgent 2/2] include/linux/syscalls.h:194:18: error: conflicting types for 'sys_sigreturn'
  2018-03-14 20:56 [tip:x86/urgent 2/2] include/linux/syscalls.h:194:18: error: conflicting types for 'sys_sigreturn' kbuild test robot
@ 2018-03-14 21:27 ` Thomas Gleixner
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Gleixner @ 2018-03-14 21:27 UTC (permalink / raw)
  To: kbuild test robot
  Cc: Tautschnig, Michael, kbuild-all, linux-kernel, tipbuild,
	Michael Tautschnig

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-03-14 21:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-14 20:56 [tip:x86/urgent 2/2] include/linux/syscalls.h:194:18: error: conflicting types for 'sys_sigreturn' kbuild test robot
2018-03-14 21:27 ` Thomas Gleixner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).