Hi Sergey, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.14.y head: 9fcb9d72e8a3a813caae6e2fac43a73603d75abd commit: 8e99c881e497e7f7528f693c563e204ae888a846 [3879/4798] tools/lib/subcmd/pager.c: do not alias select() params config: x86_64-acpi-redef (attached as .config) compiler: gcc-8 (Debian 8.1.0-3) 8.1.0 reproduce: git checkout 8e99c881e497e7f7528f693c563e204ae888a846 # save the attached .config to linux build tree make ARCH=x86_64 All warnings (new ones prefixed by >>): In file included from kernel//time/posix-timers.c:47: include/linux/syscalls.h:211:18: warning: 'sys_timer_create' alias between functions of incompatible types 'long int(const clockid_t, struct sigevent *, timer_t *)' {aka 'long int(const int, struct sigevent *, int *)'} and 'long int(long int, long int, long int)' [-Wattribute-alias] asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ ^~~ include/linux/syscalls.h:207:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:198:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ kernel//time/posix-timers.c:578:1: note: in expansion of macro 'SYSCALL_DEFINE3' SYSCALL_DEFINE3(timer_create, const clockid_t, which_clock, ^~~~~~~~~~~~~~~ include/linux/syscalls.h:215:18: note: aliased declaration here asmlinkage long SyS##name(__MAP(x,__SC_LONG,__VA_ARGS__)) \ ^~~ include/linux/syscalls.h:207:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:198:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ kernel//time/posix-timers.c:578:1: note: in expansion of macro 'SYSCALL_DEFINE3' SYSCALL_DEFINE3(timer_create, const clockid_t, which_clock, ^~~~~~~~~~~~~~~ In file included from kernel//time/posix-timers.c:52: include/linux/compat.h:51:18: warning: 'compat_sys_clock_nanosleep' alias between functions of incompatible types 'long int(clockid_t, int, struct compat_timespec *, struct compat_timespec *)' {aka 'long int(int, int, struct compat_timespec *, struct compat_timespec *)'} and 'long int(long int, long int, long int, long int)' [-Wattribute-alias] asmlinkage long compat_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__))\ ^~~~~~~~~~ include/linux/compat.h:44:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(4, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ >> kernel//time/posix-timers.c:1231:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE4' COMPAT_SYSCALL_DEFINE4(clock_nanosleep, clockid_t, which_clock, int, flags, ^~~~~~~~~~~~~~~~~~~~~~ include/linux/compat.h:55:18: note: aliased declaration here asmlinkage long compat_SyS##name(__MAP(x,__SC_LONG,__VA_ARGS__))\ ^~~~~~~~~~ include/linux/compat.h:44:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(4, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ >> kernel//time/posix-timers.c:1231:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE4' COMPAT_SYSCALL_DEFINE4(clock_nanosleep, clockid_t, which_clock, int, flags, ^~~~~~~~~~~~~~~~~~~~~~ In file included from kernel//time/posix-timers.c:47: include/linux/syscalls.h:211:18: warning: 'sys_clock_nanosleep' alias between functions of incompatible types 'long int(const clockid_t, int, const struct timespec *, struct timespec *)' {aka 'long int(const int, int, const struct timespec *, struct timespec *)'} and 'long int(long int, long int, long int, long int)' [-Wattribute-alias] asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ ^~~ include/linux/syscalls.h:207:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:199:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ kernel//time/posix-timers.c:1205:1: note: in expansion of macro 'SYSCALL_DEFINE4' SYSCALL_DEFINE4(clock_nanosleep, const clockid_t, which_clock, int, flags, ^~~~~~~~~~~~~~~ include/linux/syscalls.h:215:18: note: aliased declaration here asmlinkage long SyS##name(__MAP(x,__SC_LONG,__VA_ARGS__)) \ ^~~ include/linux/syscalls.h:207:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:199:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ kernel//time/posix-timers.c:1205:1: note: in expansion of macro 'SYSCALL_DEFINE4' SYSCALL_DEFINE4(clock_nanosleep, const clockid_t, which_clock, int, flags, ^~~~~~~~~~~~~~~ In file included from kernel//time/posix-timers.c:52: include/linux/compat.h:51:18: warning: 'compat_sys_clock_getres' alias between functions of incompatible types 'long int(clockid_t, struct compat_timespec *)' {aka 'long int(int, struct compat_timespec *)'} and 'long int(long int, long int)' [-Wattribute-alias] asmlinkage long compat_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__))\ ^~~~~~~~~~ include/linux/compat.h:40:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ >> kernel//time/posix-timers.c:1175:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE2' COMPAT_SYSCALL_DEFINE2(clock_getres, clockid_t, which_clock, ^~~~~~~~~~~~~~~~~~~~~~ include/linux/compat.h:55:18: note: aliased declaration here asmlinkage long compat_SyS##name(__MAP(x,__SC_LONG,__VA_ARGS__))\ ^~~~~~~~~~ include/linux/compat.h:40:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ >> kernel//time/posix-timers.c:1175:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE2' COMPAT_SYSCALL_DEFINE2(clock_getres, clockid_t, which_clock, ^~~~~~~~~~~~~~~~~~~~~~ include/linux/compat.h:51:18: warning: 'compat_sys_clock_adjtime' alias between functions of incompatible types 'long int(clockid_t, struct compat_timex *)' {aka 'long int(int, struct compat_timex *)'} and 'long int(long int, long int)' [-Wattribute-alias] asmlinkage long compat_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__))\ ^~~~~~~~~~ include/linux/compat.h:40:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ kernel//time/posix-timers.c:1151:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE2' COMPAT_SYSCALL_DEFINE2(clock_adjtime, clockid_t, which_clock, ^~~~~~~~~~~~~~~~~~~~~~ include/linux/compat.h:55:18: note: aliased declaration here asmlinkage long compat_SyS##name(__MAP(x,__SC_LONG,__VA_ARGS__))\ ^~~~~~~~~~ include/linux/compat.h:40:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ kernel//time/posix-timers.c:1151:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE2' COMPAT_SYSCALL_DEFINE2(clock_adjtime, clockid_t, which_clock, ^~~~~~~~~~~~~~~~~~~~~~ include/linux/compat.h:51:18: warning: 'compat_sys_clock_gettime' alias between functions of incompatible types 'long int(clockid_t, struct compat_timespec *)' {aka 'long int(int, struct compat_timespec *)'} and 'long int(long int, long int)' [-Wattribute-alias] asmlinkage long compat_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__))\ ^~~~~~~~~~ include/linux/compat.h:40:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ kernel//time/posix-timers.c:1133:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE2' COMPAT_SYSCALL_DEFINE2(clock_gettime, clockid_t, which_clock, ^~~~~~~~~~~~~~~~~~~~~~ include/linux/compat.h:55:18: note: aliased declaration here asmlinkage long compat_SyS##name(__MAP(x,__SC_LONG,__VA_ARGS__))\ ^~~~~~~~~~ include/linux/compat.h:40:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ kernel//time/posix-timers.c:1133:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE2' COMPAT_SYSCALL_DEFINE2(clock_gettime, clockid_t, which_clock, ^~~~~~~~~~~~~~~~~~~~~~ include/linux/compat.h:51:18: warning: 'compat_sys_clock_settime' alias between functions of incompatible types 'long int(clockid_t, struct compat_timespec *)' {aka 'long int(int, struct compat_timespec *)'} and 'long int(long int, long int)' [-Wattribute-alias] asmlinkage long compat_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__))\ ^~~~~~~~~~ include/linux/compat.h:40:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ kernel//time/posix-timers.c:1118:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE2' COMPAT_SYSCALL_DEFINE2(clock_settime, clockid_t, which_clock, ^~~~~~~~~~~~~~~~~~~~~~ include/linux/compat.h:55:18: note: aliased declaration here asmlinkage long compat_SyS##name(__MAP(x,__SC_LONG,__VA_ARGS__))\ ^~~~~~~~~~ include/linux/compat.h:40:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ kernel//time/posix-timers.c:1118:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE2' COMPAT_SYSCALL_DEFINE2(clock_settime, clockid_t, which_clock, ^~~~~~~~~~~~~~~~~~~~~~ In file included from kernel//time/posix-timers.c:47: include/linux/syscalls.h:211:18: warning: 'sys_clock_getres' alias between functions of incompatible types 'long int(const clockid_t, struct timespec *)' {aka 'long int(const int, struct timespec *)'} and 'long int(long int, long int)' [-Wattribute-alias] asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ ^~~ include/linux/syscalls.h:207:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:197:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ kernel//time/posix-timers.c:1098:1: note: in expansion of macro 'SYSCALL_DEFINE2' SYSCALL_DEFINE2(clock_getres, const clockid_t, which_clock, ^~~~~~~~~~~~~~~ include/linux/syscalls.h:215:18: note: aliased declaration here asmlinkage long SyS##name(__MAP(x,__SC_LONG,__VA_ARGS__)) \ ^~~ include/linux/syscalls.h:207:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:197:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ kernel//time/posix-timers.c:1098:1: note: in expansion of macro 'SYSCALL_DEFINE2' SYSCALL_DEFINE2(clock_getres, const clockid_t, which_clock, ^~~~~~~~~~~~~~~ include/linux/syscalls.h:211:18: warning: 'sys_clock_adjtime' alias between functions of incompatible types 'long int(const clockid_t, struct timex *)' {aka 'long int(const int, struct timex *)'} and 'long int(long int, long int)' [-Wattribute-alias] asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ ^~~ include/linux/syscalls.h:207:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:197:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ kernel//time/posix-timers.c:1075:1: note: in expansion of macro 'SYSCALL_DEFINE2' SYSCALL_DEFINE2(clock_adjtime, const clockid_t, which_clock, ^~~~~~~~~~~~~~~ include/linux/syscalls.h:215:18: note: aliased declaration here asmlinkage long SyS##name(__MAP(x,__SC_LONG,__VA_ARGS__)) \ ^~~ include/linux/syscalls.h:207:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:197:36: note: in expansion of macro 'SYSCALL_DEFINEx' -- In file included from kernel//time/posix-timers.c:47: include/linux/syscalls.h:211:18: warning: 'sys_timer_settime' alias between functions of incompatible types 'long int(timer_t, int, const struct itimerspec *, struct itimerspec *)' {aka 'long int(int, int, const struct itimerspec *, struct itimerspec *)'} and 'long int(long int, long int, long int, long int)' [-Wattribute-alias] asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ ^~~ include/linux/syscalls.h:207:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:199:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ kernel//time/posix-timers.c:908:1: note: in expansion of macro 'SYSCALL_DEFINE4' SYSCALL_DEFINE4(timer_settime, timer_t, timer_id, int, flags, ^~~~~~~~~~~~~~~ include/linux/syscalls.h:215:18: note: aliased declaration here asmlinkage long SyS##name(__MAP(x,__SC_LONG,__VA_ARGS__)) \ ^~~ include/linux/syscalls.h:207:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:199:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ kernel//time/posix-timers.c:908:1: note: in expansion of macro 'SYSCALL_DEFINE4' SYSCALL_DEFINE4(timer_settime, timer_t, timer_id, int, flags, ^~~~~~~~~~~~~~~ include/linux/syscalls.h:211:18: warning: 'sys_timer_getoverrun' alias between functions of incompatible types 'long int(timer_t)' {aka 'long int(int)'} and 'long int(long int)' [-Wattribute-alias] asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ ^~~ include/linux/syscalls.h:207:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:196:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ kernel//time/posix-timers.c:782:1: note: in expansion of macro 'SYSCALL_DEFINE1' SYSCALL_DEFINE1(timer_getoverrun, timer_t, timer_id) ^~~~~~~~~~~~~~~ include/linux/syscalls.h:215:18: note: aliased declaration here asmlinkage long SyS##name(__MAP(x,__SC_LONG,__VA_ARGS__)) \ ^~~ include/linux/syscalls.h:207:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:196:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ kernel//time/posix-timers.c:782:1: note: in expansion of macro 'SYSCALL_DEFINE1' SYSCALL_DEFINE1(timer_getoverrun, timer_t, timer_id) ^~~~~~~~~~~~~~~ In file included from kernel//time/posix-timers.c:52: include/linux/compat.h:51:18: warning: 'compat_sys_timer_gettime' alias between functions of incompatible types 'long int(timer_t, struct compat_itimerspec *)' {aka 'long int(int, struct compat_itimerspec *)'} and 'long int(long int, long int)' [-Wattribute-alias] asmlinkage long compat_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__))\ ^~~~~~~~~~ include/linux/compat.h:40:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ kernel//time/posix-timers.c:759:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE2' COMPAT_SYSCALL_DEFINE2(timer_gettime, timer_t, timer_id, ^~~~~~~~~~~~~~~~~~~~~~ include/linux/compat.h:55:18: note: aliased declaration here asmlinkage long compat_SyS##name(__MAP(x,__SC_LONG,__VA_ARGS__))\ ^~~~~~~~~~ include/linux/compat.h:40:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ kernel//time/posix-timers.c:759:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE2' COMPAT_SYSCALL_DEFINE2(timer_gettime, timer_t, timer_id, ^~~~~~~~~~~~~~~~~~~~~~ In file included from kernel//time/posix-timers.c:47: include/linux/syscalls.h:211:18: warning: 'sys_timer_gettime' alias between functions of incompatible types 'long int(timer_t, struct itimerspec *)' {aka 'long int(int, struct itimerspec *)'} and 'long int(long int, long int)' [-Wattribute-alias] asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ ^~~ include/linux/syscalls.h:207:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:197:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ kernel//time/posix-timers.c:745:1: note: in expansion of macro 'SYSCALL_DEFINE2' SYSCALL_DEFINE2(timer_gettime, timer_t, timer_id, ^~~~~~~~~~~~~~~ include/linux/syscalls.h:215:18: note: aliased declaration here asmlinkage long SyS##name(__MAP(x,__SC_LONG,__VA_ARGS__)) \ ^~~ include/linux/syscalls.h:207:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:197:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ kernel//time/posix-timers.c:745:1: note: in expansion of macro 'SYSCALL_DEFINE2' SYSCALL_DEFINE2(timer_gettime, timer_t, timer_id, ^~~~~~~~~~~~~~~ In file included from kernel//time/posix-timers.c:52: include/linux/compat.h:51:18: warning: 'compat_sys_timer_create' alias between functions of incompatible types 'long int(clockid_t, struct compat_sigevent *, timer_t *)' {aka 'long int(int, struct compat_sigevent *, int *)'} and 'long int(long int, long int, long int)' [-Wattribute-alias] asmlinkage long compat_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__))\ ^~~~~~~~~~ include/linux/compat.h:42:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ >> kernel//time/posix-timers.c:593:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE3' COMPAT_SYSCALL_DEFINE3(timer_create, clockid_t, which_clock, ^~~~~~~~~~~~~~~~~~~~~~ include/linux/compat.h:55:18: note: aliased declaration here asmlinkage long compat_SyS##name(__MAP(x,__SC_LONG,__VA_ARGS__))\ ^~~~~~~~~~ include/linux/compat.h:42:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ >> kernel//time/posix-timers.c:593:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE3' COMPAT_SYSCALL_DEFINE3(timer_create, clockid_t, which_clock, ^~~~~~~~~~~~~~~~~~~~~~ -- In file included from kernel//time/itimer.c:12: include/linux/syscalls.h:211:18: warning: 'sys_getitimer' alias between functions of incompatible types 'long int(int, struct itimerval *)' and 'long int(long int, long int)' [-Wattribute-alias] asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ ^~~ include/linux/syscalls.h:207:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:197:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ kernel//time/itimer.c:107:1: note: in expansion of macro 'SYSCALL_DEFINE2' SYSCALL_DEFINE2(getitimer, int, which, struct itimerval __user *, value) ^~~~~~~~~~~~~~~ include/linux/syscalls.h:215:18: note: aliased declaration here asmlinkage long SyS##name(__MAP(x,__SC_LONG,__VA_ARGS__)) \ ^~~ include/linux/syscalls.h:207:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:197:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ kernel//time/itimer.c:107:1: note: in expansion of macro 'SYSCALL_DEFINE2' SYSCALL_DEFINE2(getitimer, int, which, struct itimerval __user *, value) ^~~~~~~~~~~~~~~ In file included from kernel//time/itimer.c:19: include/linux/compat.h:51:18: warning: 'compat_sys_setitimer' alias between functions of incompatible types 'long int(int, struct compat_itimerval *, struct compat_itimerval *)' and 'long int(long int, long int, long int)' [-Wattribute-alias] asmlinkage long compat_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__))\ ^~~~~~~~~~ include/linux/compat.h:42:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ >> kernel//time/itimer.c:318:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE3' COMPAT_SYSCALL_DEFINE3(setitimer, int, which, ^~~~~~~~~~~~~~~~~~~~~~ include/linux/compat.h:55:18: note: aliased declaration here asmlinkage long compat_SyS##name(__MAP(x,__SC_LONG,__VA_ARGS__))\ ^~~~~~~~~~ include/linux/compat.h:42:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ >> kernel//time/itimer.c:318:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE3' COMPAT_SYSCALL_DEFINE3(setitimer, int, which, ^~~~~~~~~~~~~~~~~~~~~~ In file included from kernel//time/itimer.c:12: include/linux/syscalls.h:211:18: warning: 'sys_setitimer' alias between functions of incompatible types 'long int(int, struct itimerval *, struct itimerval *)' and 'long int(long int, long int, long int)' [-Wattribute-alias] asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ ^~~ include/linux/syscalls.h:207:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:198:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ kernel//time/itimer.c:292:1: note: in expansion of macro 'SYSCALL_DEFINE3' SYSCALL_DEFINE3(setitimer, int, which, struct itimerval __user *, value, ^~~~~~~~~~~~~~~ include/linux/syscalls.h:215:18: note: aliased declaration here asmlinkage long SyS##name(__MAP(x,__SC_LONG,__VA_ARGS__)) \ ^~~ include/linux/syscalls.h:207:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:198:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ kernel//time/itimer.c:292:1: note: in expansion of macro 'SYSCALL_DEFINE3' SYSCALL_DEFINE3(setitimer, int, which, struct itimerval __user *, value, ^~~~~~~~~~~~~~~ include/linux/syscalls.h:211:18: warning: 'sys_alarm' alias between functions of incompatible types 'long int(unsigned int)' and 'long int(long int)' [-Wattribute-alias] asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ ^~~ include/linux/syscalls.h:207:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:196:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ kernel//time/itimer.c:285:1: note: in expansion of macro 'SYSCALL_DEFINE1' SYSCALL_DEFINE1(alarm, unsigned int, seconds) ^~~~~~~~~~~~~~~ include/linux/syscalls.h:215:18: note: aliased declaration here asmlinkage long SyS##name(__MAP(x,__SC_LONG,__VA_ARGS__)) \ ^~~ include/linux/syscalls.h:207:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ include/linux/syscalls.h:196:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ kernel//time/itimer.c:285:1: note: in expansion of macro 'SYSCALL_DEFINE1' SYSCALL_DEFINE1(alarm, unsigned int, seconds) ^~~~~~~~~~~~~~~ In file included from kernel//time/itimer.c:19: include/linux/compat.h:51:18: warning: 'compat_sys_getitimer' alias between functions of incompatible types 'long int(int, struct compat_itimerval *)' and 'long int(long int, long int)' [-Wattribute-alias] asmlinkage long compat_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__))\ ^~~~~~~~~~ include/linux/compat.h:40:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ >> kernel//time/itimer.c:122:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE2' COMPAT_SYSCALL_DEFINE2(getitimer, int, which, ^~~~~~~~~~~~~~~~~~~~~~ include/linux/compat.h:55:18: note: aliased declaration here asmlinkage long compat_SyS##name(__MAP(x,__SC_LONG,__VA_ARGS__))\ ^~~~~~~~~~ include/linux/compat.h:40:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ >> kernel//time/itimer.c:122:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE2' COMPAT_SYSCALL_DEFINE2(getitimer, int, which, ^~~~~~~~~~~~~~~~~~~~~~ vim +/COMPAT_SYSCALL_DEFINE4 +1231 kernel//time/posix-timers.c 3a4d44b6 kernel/time/posix-timers.c Al Viro 2017-06-07 1174 d822cdcc kernel/time/posix-timers.c Al Viro 2017-06-07 @1175 COMPAT_SYSCALL_DEFINE2(clock_getres, clockid_t, which_clock, d822cdcc kernel/time/posix-timers.c Al Viro 2017-06-07 1176 struct compat_timespec __user *, tp) ^1da177e kernel/posix-timers.c Linus Torvalds 2005-04-16 1177 { d3ba5a9a kernel/time/posix-timers.c Christoph Hellwig 2017-05-26 1178 const struct k_clock *kc = clockid_to_kclock(which_clock); 5c499410 kernel/time/posix-timers.c Deepa Dinamani 2017-06-24 1179 struct timespec64 ts; 5c499410 kernel/time/posix-timers.c Deepa Dinamani 2017-06-24 1180 int err; ^1da177e kernel/posix-timers.c Linus Torvalds 2005-04-16 1181 e5e542ee kernel/posix-timers.c Thomas Gleixner 2011-02-01 1182 if (!kc) ^1da177e kernel/posix-timers.c Linus Torvalds 2005-04-16 1183 return -EINVAL; ^1da177e kernel/posix-timers.c Linus Torvalds 2005-04-16 1184 5c499410 kernel/time/posix-timers.c Deepa Dinamani 2017-06-24 1185 err = kc->clock_getres(which_clock, &ts); 5c499410 kernel/time/posix-timers.c Deepa Dinamani 2017-06-24 1186 if (!err && tp && compat_put_timespec64(&ts, tp)) 5c499410 kernel/time/posix-timers.c Deepa Dinamani 2017-06-24 1187 return -EFAULT; ^1da177e kernel/posix-timers.c Linus Torvalds 2005-04-16 1188 5c499410 kernel/time/posix-timers.c Deepa Dinamani 2017-06-24 1189 return err; ^1da177e kernel/posix-timers.c Linus Torvalds 2005-04-16 1190 } 5c499410 kernel/time/posix-timers.c Deepa Dinamani 2017-06-24 1191 d822cdcc kernel/time/posix-timers.c Al Viro 2017-06-07 1192 #endif ^1da177e kernel/posix-timers.c Linus Torvalds 2005-04-16 1193 ^1da177e kernel/posix-timers.c Linus Torvalds 2005-04-16 1194 /* 97735f25 kernel/posix-timers.c Thomas Gleixner 2006-01-09 1195 * nanosleep for monotonic and realtime clocks 97735f25 kernel/posix-timers.c Thomas Gleixner 2006-01-09 1196 */ 97735f25 kernel/posix-timers.c Thomas Gleixner 2006-01-09 1197 static int common_nsleep(const clockid_t which_clock, int flags, 938e7cf2 kernel/time/posix-timers.c Thomas Gleixner 2017-06-13 1198 const struct timespec64 *rqtp) 97735f25 kernel/posix-timers.c Thomas Gleixner 2006-01-09 1199 { 938e7cf2 kernel/time/posix-timers.c Thomas Gleixner 2017-06-13 1200 return hrtimer_nanosleep(rqtp, flags & TIMER_ABSTIME ? c9cb2e3d kernel/posix-timers.c Thomas Gleixner 2007-02-16 1201 HRTIMER_MODE_ABS : HRTIMER_MODE_REL, c9cb2e3d kernel/posix-timers.c Thomas Gleixner 2007-02-16 1202 which_clock); 97735f25 kernel/posix-timers.c Thomas Gleixner 2006-01-09 1203 } ^1da177e kernel/posix-timers.c Linus Torvalds 2005-04-16 1204 362e9c07 kernel/posix-timers.c Heiko Carstens 2009-01-14 1205 SYSCALL_DEFINE4(clock_nanosleep, const clockid_t, which_clock, int, flags, 362e9c07 kernel/posix-timers.c Heiko Carstens 2009-01-14 1206 const struct timespec __user *, rqtp, 362e9c07 kernel/posix-timers.c Heiko Carstens 2009-01-14 1207 struct timespec __user *, rmtp) ^1da177e kernel/posix-timers.c Linus Torvalds 2005-04-16 1208 { d3ba5a9a kernel/time/posix-timers.c Christoph Hellwig 2017-05-26 1209 const struct k_clock *kc = clockid_to_kclock(which_clock); c0edd7c9 kernel/time/posix-timers.c Deepa Dinamani 2017-06-24 1210 struct timespec64 t; ^1da177e kernel/posix-timers.c Linus Torvalds 2005-04-16 1211 a5cd2880 kernel/posix-timers.c Thomas Gleixner 2011-02-01 1212 if (!kc) ^1da177e kernel/posix-timers.c Linus Torvalds 2005-04-16 1213 return -EINVAL; a5cd2880 kernel/posix-timers.c Thomas Gleixner 2011-02-01 1214 if (!kc->nsleep) a5cd2880 kernel/posix-timers.c Thomas Gleixner 2011-02-01 1215 return -ENANOSLEEP_NOTSUP; ^1da177e kernel/posix-timers.c Linus Torvalds 2005-04-16 1216 c0edd7c9 kernel/time/posix-timers.c Deepa Dinamani 2017-06-24 1217 if (get_timespec64(&t, rqtp)) ^1da177e kernel/posix-timers.c Linus Torvalds 2005-04-16 1218 return -EFAULT; ^1da177e kernel/posix-timers.c Linus Torvalds 2005-04-16 1219 c0edd7c9 kernel/time/posix-timers.c Deepa Dinamani 2017-06-24 1220 if (!timespec64_valid(&t)) ^1da177e kernel/posix-timers.c Linus Torvalds 2005-04-16 1221 return -EINVAL; 99e6c0e6 kernel/time/posix-timers.c Al Viro 2017-06-07 1222 if (flags & TIMER_ABSTIME) 99e6c0e6 kernel/time/posix-timers.c Al Viro 2017-06-07 1223 rmtp = NULL; edbeda46 kernel/time/posix-timers.c Al Viro 2017-06-07 1224 current->restart_block.nanosleep.type = rmtp ? TT_NATIVE : TT_NONE; 99e6c0e6 kernel/time/posix-timers.c Al Viro 2017-06-07 1225 current->restart_block.nanosleep.rmtp = rmtp; ^1da177e kernel/posix-timers.c Linus Torvalds 2005-04-16 1226 c0edd7c9 kernel/time/posix-timers.c Deepa Dinamani 2017-06-24 1227 return kc->nsleep(which_clock, flags, &t); ^1da177e kernel/posix-timers.c Linus Torvalds 2005-04-16 1228 } 1711ef38 kernel/posix-timers.c Toyo Abe 2006-09-29 1229 edbeda46 kernel/time/posix-timers.c Al Viro 2017-06-07 1230 #ifdef CONFIG_COMPAT edbeda46 kernel/time/posix-timers.c Al Viro 2017-06-07 @1231 COMPAT_SYSCALL_DEFINE4(clock_nanosleep, clockid_t, which_clock, int, flags, edbeda46 kernel/time/posix-timers.c Al Viro 2017-06-07 1232 struct compat_timespec __user *, rqtp, edbeda46 kernel/time/posix-timers.c Al Viro 2017-06-07 1233 struct compat_timespec __user *, rmtp) 1711ef38 kernel/posix-timers.c Toyo Abe 2006-09-29 1234 { d3ba5a9a kernel/time/posix-timers.c Christoph Hellwig 2017-05-26 1235 const struct k_clock *kc = clockid_to_kclock(which_clock); c0edd7c9 kernel/time/posix-timers.c Deepa Dinamani 2017-06-24 1236 struct timespec64 t; 59bd5bc2 kernel/posix-timers.c Thomas Gleixner 2011-02-01 1237 edbeda46 kernel/time/posix-timers.c Al Viro 2017-06-07 1238 if (!kc) 59bd5bc2 kernel/posix-timers.c Thomas Gleixner 2011-02-01 1239 return -EINVAL; edbeda46 kernel/time/posix-timers.c Al Viro 2017-06-07 1240 if (!kc->nsleep) edbeda46 kernel/time/posix-timers.c Al Viro 2017-06-07 1241 return -ENANOSLEEP_NOTSUP; edbeda46 kernel/time/posix-timers.c Al Viro 2017-06-07 1242 c0edd7c9 kernel/time/posix-timers.c Deepa Dinamani 2017-06-24 1243 if (compat_get_timespec64(&t, rqtp)) edbeda46 kernel/time/posix-timers.c Al Viro 2017-06-07 1244 return -EFAULT; 1711ef38 kernel/posix-timers.c Toyo Abe 2006-09-29 1245 c0edd7c9 kernel/time/posix-timers.c Deepa Dinamani 2017-06-24 1246 if (!timespec64_valid(&t)) edbeda46 kernel/time/posix-timers.c Al Viro 2017-06-07 1247 return -EINVAL; edbeda46 kernel/time/posix-timers.c Al Viro 2017-06-07 1248 if (flags & TIMER_ABSTIME) edbeda46 kernel/time/posix-timers.c Al Viro 2017-06-07 1249 rmtp = NULL; edbeda46 kernel/time/posix-timers.c Al Viro 2017-06-07 1250 current->restart_block.nanosleep.type = rmtp ? TT_COMPAT : TT_NONE; edbeda46 kernel/time/posix-timers.c Al Viro 2017-06-07 1251 current->restart_block.nanosleep.compat_rmtp = rmtp; edbeda46 kernel/time/posix-timers.c Al Viro 2017-06-07 1252 c0edd7c9 kernel/time/posix-timers.c Deepa Dinamani 2017-06-24 1253 return kc->nsleep(which_clock, flags, &t); 1711ef38 kernel/posix-timers.c Toyo Abe 2006-09-29 1254 } edbeda46 kernel/time/posix-timers.c Al Viro 2017-06-07 1255 #endif 6631fa12 kernel/time/posix-timers.c Thomas Gleixner 2017-05-30 1256 :::::: The code at line 1231 was first introduced by commit :::::: edbeda46322fbcb15af2d2d0f2daffb0cd349a5a time/posix-timers: Move the compat copyouts to the nanosleep implementations :::::: TO: Al Viro <viro@xxxxxxxxxxxxxxxxxx> :::::: CC: Thomas Gleixner <tglx@xxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip