From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [ak:lto-5.12-1-wip 16/42] kernel/time/posix-stubs.c:38:44: error: conflicting types for 'compat_sys_timer_create'
Date: Tue, 30 Mar 2021 05:16:30 +0800 [thread overview]
Message-ID: <202103300524.eDSB4fCi-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 10539 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc.git lto-5.12-1-wip
head: 39ec2631668daa6f0c883f5bd1b5d215092bf300
commit: 9ede27d11056006b4e7a90052384d21d8625fe74 [16/42] lto: Use C version for SYSCALL_ALIAS / cond_syscall
config: sparc64-randconfig-r003-20210329 (attached as .config)
compiler: sparc64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc.git/commit/?id=9ede27d11056006b4e7a90052384d21d8625fe74
git remote add ak https://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc.git
git fetch --no-tags ak lto-5.12-1-wip
git checkout 9ede27d11056006b4e7a90052384d21d8625fe74
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sparc64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
34 | #define SYS_NI(name) SYSCALL_ALIAS(sys_##name, sys_ni_posix_timers)
| ^~~~
include/linux/linkage.h:32:7: note: in definition of macro 'SYSCALL_ALIAS'
32 | long a(void) __attribute__((alias(__stringify(name))))
| ^
kernel/time/posix-stubs.c:44:1: note: in expansion of macro 'SYS_NI'
44 | SYS_NI(timer_settime);
| ^~~~~~
In file included from kernel/time/posix-stubs.c:13:
include/linux/syscalls.h:652:17: note: previous declaration of 'sys_timer_settime' was here
652 | asmlinkage long sys_timer_settime(timer_t timer_id, int flags,
| ^~~~~~~~~~~~~~~~~
In file included from kernel/time/posix-stubs.c:9:
kernel/time/posix-stubs.c:34:37: error: conflicting types for 'sys_timer_delete'
34 | #define SYS_NI(name) SYSCALL_ALIAS(sys_##name, sys_ni_posix_timers)
| ^~~~
include/linux/linkage.h:32:7: note: in definition of macro 'SYSCALL_ALIAS'
32 | long a(void) __attribute__((alias(__stringify(name))))
| ^
kernel/time/posix-stubs.c:45:1: note: in expansion of macro 'SYS_NI'
45 | SYS_NI(timer_delete);
| ^~~~~~
In file included from kernel/time/posix-stubs.c:13:
include/linux/syscalls.h:655:17: note: previous declaration of 'sys_timer_delete' was here
655 | asmlinkage long sys_timer_delete(timer_t timer_id);
| ^~~~~~~~~~~~~~~~
In file included from kernel/time/posix-stubs.c:9:
kernel/time/posix-stubs.c:34:37: error: conflicting types for 'sys_clock_adjtime'
34 | #define SYS_NI(name) SYSCALL_ALIAS(sys_##name, sys_ni_posix_timers)
| ^~~~
include/linux/linkage.h:32:7: note: in definition of macro 'SYSCALL_ALIAS'
32 | long a(void) __attribute__((alias(__stringify(name))))
| ^
kernel/time/posix-stubs.c:46:1: note: in expansion of macro 'SYS_NI'
46 | SYS_NI(clock_adjtime);
| ^~~~~~
In file included from kernel/time/posix-stubs.c:13:
include/linux/syscalls.h:965:17: note: previous declaration of 'sys_clock_adjtime' was here
965 | asmlinkage long sys_clock_adjtime(clockid_t which_clock,
| ^~~~~~~~~~~~~~~~~
In file included from kernel/time/posix-stubs.c:9:
kernel/time/posix-stubs.c:34:37: error: conflicting types for 'sys_getitimer'
34 | #define SYS_NI(name) SYSCALL_ALIAS(sys_##name, sys_ni_posix_timers)
| ^~~~
include/linux/linkage.h:32:7: note: in definition of macro 'SYSCALL_ALIAS'
32 | long a(void) __attribute__((alias(__stringify(name))))
| ^
kernel/time/posix-stubs.c:47:1: note: in expansion of macro 'SYS_NI'
47 | SYS_NI(getitimer);
| ^~~~~~
In file included from kernel/time/posix-stubs.c:13:
include/linux/syscalls.h:629:17: note: previous declaration of 'sys_getitimer' was here
629 | asmlinkage long sys_getitimer(int which, struct __kernel_old_itimerval __user *value);
| ^~~~~~~~~~~~~
In file included from kernel/time/posix-stubs.c:9:
kernel/time/posix-stubs.c:34:37: error: conflicting types for 'sys_setitimer'
34 | #define SYS_NI(name) SYSCALL_ALIAS(sys_##name, sys_ni_posix_timers)
| ^~~~
include/linux/linkage.h:32:7: note: in definition of macro 'SYSCALL_ALIAS'
32 | long a(void) __attribute__((alias(__stringify(name))))
| ^
kernel/time/posix-stubs.c:48:1: note: in expansion of macro 'SYS_NI'
48 | SYS_NI(setitimer);
| ^~~~~~
In file included from kernel/time/posix-stubs.c:13:
include/linux/syscalls.h:630:17: note: previous declaration of 'sys_setitimer' was here
630 | asmlinkage long sys_setitimer(int which,
| ^~~~~~~~~~~~~
In file included from kernel/time/posix-stubs.c:9:
kernel/time/posix-stubs.c:34:37: error: conflicting types for 'sys_clock_adjtime32'
34 | #define SYS_NI(name) SYSCALL_ALIAS(sys_##name, sys_ni_posix_timers)
| ^~~~
include/linux/linkage.h:32:7: note: in definition of macro 'SYSCALL_ALIAS'
32 | long a(void) __attribute__((alias(__stringify(name))))
| ^
kernel/time/posix-stubs.c:49:1: note: in expansion of macro 'SYS_NI'
49 | SYS_NI(clock_adjtime32);
| ^~~~~~
In file included from kernel/time/posix-stubs.c:13:
include/linux/syscalls.h:967:17: note: previous declaration of 'sys_clock_adjtime32' was here
967 | asmlinkage long sys_clock_adjtime32(clockid_t which_clock,
| ^~~~~~~~~~~~~~~~~~~
In file included from kernel/time/posix-stubs.c:9:
kernel/time/posix-stubs.c:34:37: error: conflicting types for 'sys_alarm'
34 | #define SYS_NI(name) SYSCALL_ALIAS(sys_##name, sys_ni_posix_timers)
| ^~~~
include/linux/linkage.h:32:7: note: in definition of macro 'SYSCALL_ALIAS'
32 | long a(void) __attribute__((alias(__stringify(name))))
| ^
kernel/time/posix-stubs.c:51:1: note: in expansion of macro 'SYS_NI'
51 | SYS_NI(alarm);
| ^~~~~~
In file included from kernel/time/posix-stubs.c:13:
include/linux/syscalls.h:1117:17: note: previous declaration of 'sys_alarm' was here
1117 | asmlinkage long sys_alarm(unsigned int seconds);
| ^~~~~~~~~
kernel/time/posix-stubs.c:73:5: warning: no previous prototype for 'do_clock_gettime' [-Wmissing-prototypes]
73 | int do_clock_gettime(clockid_t which_clock, struct timespec64 *tp)
| ^~~~~~~~~~~~~~~~
In file included from kernel/time/posix-stubs.c:9:
>> kernel/time/posix-stubs.c:38:44: error: conflicting types for 'compat_sys_timer_create'
38 | #define COMPAT_SYS_NI(name) SYSCALL_ALIAS(compat_sys_##name, sys_ni_posix_timers)
| ^~~~~~~~~~~
include/linux/linkage.h:32:7: note: in definition of macro 'SYSCALL_ALIAS'
32 | long a(void) __attribute__((alias(__stringify(name))))
| ^
kernel/time/posix-stubs.c:160:1: note: in expansion of macro 'COMPAT_SYS_NI'
160 | COMPAT_SYS_NI(timer_create);
| ^~~~~~~~~~~~~
In file included from kernel/time/posix-stubs.c:18:
include/linux/compat.h:671:17: note: previous declaration of 'compat_sys_timer_create' was here
671 | asmlinkage long compat_sys_timer_create(clockid_t which_clock,
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from kernel/time/posix-stubs.c:9:
>> kernel/time/posix-stubs.c:38:44: error: conflicting types for 'compat_sys_getitimer'
38 | #define COMPAT_SYS_NI(name) SYSCALL_ALIAS(compat_sys_##name, sys_ni_posix_timers)
| ^~~~~~~~~~~
include/linux/linkage.h:32:7: note: in definition of macro 'SYSCALL_ALIAS'
32 | long a(void) __attribute__((alias(__stringify(name))))
| ^
kernel/time/posix-stubs.c:164:1: note: in expansion of macro 'COMPAT_SYS_NI'
164 | COMPAT_SYS_NI(getitimer);
| ^~~~~~~~~~~~~
In file included from kernel/time/posix-stubs.c:18:
include/linux/compat.h:658:17: note: previous declaration of 'compat_sys_getitimer' was here
658 | asmlinkage long compat_sys_getitimer(int which,
| ^~~~~~~~~~~~~~~~~~~~
In file included from kernel/time/posix-stubs.c:9:
>> kernel/time/posix-stubs.c:38:44: error: conflicting types for 'compat_sys_setitimer'
38 | #define COMPAT_SYS_NI(name) SYSCALL_ALIAS(compat_sys_##name, sys_ni_posix_timers)
| ^~~~~~~~~~~
include/linux/linkage.h:32:7: note: in definition of macro 'SYSCALL_ALIAS'
32 | long a(void) __attribute__((alias(__stringify(name))))
| ^
kernel/time/posix-stubs.c:165:1: note: in expansion of macro 'COMPAT_SYS_NI'
165 | COMPAT_SYS_NI(setitimer);
| ^~~~~~~~~~~~~
In file included from kernel/time/posix-stubs.c:18:
include/linux/compat.h:660:17: note: previous declaration of 'compat_sys_setitimer' was here
660 | asmlinkage long compat_sys_setitimer(int which,
| ^~~~~~~~~~~~~~~~~~~~
vim +/compat_sys_timer_create +38 kernel/time/posix-stubs.c
7303e30ec1d8fb Dominik Brodowski 2018-04-05 36
7303e30ec1d8fb Dominik Brodowski 2018-04-05 37 #ifndef COMPAT_SYS_NI
3a4d44b6162555 Al Viro 2017-06-07 @38 #define COMPAT_SYS_NI(name) SYSCALL_ALIAS(compat_sys_##name, sys_ni_posix_timers)
7303e30ec1d8fb Dominik Brodowski 2018-04-05 39 #endif
baa73d9e478ff3 Nicolas Pitre 2016-11-11 40
:::::: The code at line 38 was first introduced by commit
:::::: 3a4d44b6162555070194e486ff6b3799a8d323a2 ntp: Move adjtimex related compat syscalls to native counterparts
:::::: TO: Al Viro <viro@zeniv.linux.org.uk>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 29640 bytes --]
reply other threads:[~2021-03-29 21:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202103300524.eDSB4fCi-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.