linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-stable-rc:linux-4.14.y 3879/4798] kernel//time/posix-timers.c:1231:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE4'
@ 2018-05-29 15:23 kbuild test robot
  2018-05-29 15:32 ` Sergey Senozhatsky
  0 siblings, 1 reply; 3+ messages in thread
From: kbuild test robot @ 2018-05-29 15:23 UTC (permalink / raw)
  To: Sergey Senozhatsky
  Cc: kbuild-all, Greg Kroah-Hartman, Andrew Morton,
	Linux Memory Management List

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

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@zeniv.linux.org.uk>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>

---
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: 30488 bytes --]

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

* Re: [linux-stable-rc:linux-4.14.y 3879/4798] kernel//time/posix-timers.c:1231:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE4'
  2018-05-29 15:23 [linux-stable-rc:linux-4.14.y 3879/4798] kernel//time/posix-timers.c:1231:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE4' kbuild test robot
@ 2018-05-29 15:32 ` Sergey Senozhatsky
  2018-05-29 15:37   ` [kbuild-all] " Li, Philip
  0 siblings, 1 reply; 3+ messages in thread
From: Sergey Senozhatsky @ 2018-05-29 15:32 UTC (permalink / raw)
  To: kbuild test robot
  Cc: Sergey Senozhatsky, kbuild-all, Greg Kroah-Hartman,
	Andrew Morton, Linux Memory Management List

On (05/29/18 23:23), kbuild test robot wrote:
> 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 

Hello,

The commit in question is for a user space tool. I don't think it has
anything to do with the __SYSCALL_DEFINEx macro.

Seems that you have switched to gcc-8.1, which has aliasing warning ON
by default.

	-ss

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

* RE: [kbuild-all] [linux-stable-rc:linux-4.14.y 3879/4798] kernel//time/posix-timers.c:1231:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE4'
  2018-05-29 15:32 ` Sergey Senozhatsky
@ 2018-05-29 15:37   ` Li, Philip
  0 siblings, 0 replies; 3+ messages in thread
From: Li, Philip @ 2018-05-29 15:37 UTC (permalink / raw)
  To: Sergey Senozhatsky, lkp
  Cc: Linux Memory Management List, Andrew Morton, kbuild-all,
	Greg Kroah-Hartman

> Subject: Re: [kbuild-all] [linux-stable-rc:linux-4.14.y 3879/4798] kernel//time/posix-
> timers.c:1231:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE4'
> 
> On (05/29/18 23:23), kbuild test robot wrote:
> > 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
> 
> Hello,
> 
> The commit in question is for a user space tool. I don't think it has
> anything to do with the __SYSCALL_DEFINEx macro.
thanks for info, we also got similar "false" warning in other report, for now, I will
roll back to gcc-7.3, and do more check for 8.1.

> 
> Seems that you have switched to gcc-8.1, which has aliasing warning ON
> by default.
> 
> 	-ss
> _______________________________________________
> kbuild-all mailing list
> kbuild-all@lists.01.org
> https://lists.01.org/mailman/listinfo/kbuild-all

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

end of thread, other threads:[~2018-05-29 15:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-29 15:23 [linux-stable-rc:linux-4.14.y 3879/4798] kernel//time/posix-timers.c:1231:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE4' kbuild test robot
2018-05-29 15:32 ` Sergey Senozhatsky
2018-05-29 15:37   ` [kbuild-all] " Li, Philip

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox