1. 09 Aug, 2018 1 commit
  2. 28 Jul, 2018 2 commits
    • Greg Kroah-Hartman's avatar
      Linux 3.18.117 · dbba166b
      Greg Kroah-Hartman authored
      dbba166b
    • Arnd Bergmann's avatar
      turn off -Wattribute-alias · 430c3fdb
      Arnd Bergmann authored
      Starting with gcc-8.1, we get a warning about all system call definitions,
      which use an alias between functions with incompatible prototypes, e.g.:
      
      In file included from ../mm/process_vm_access.c:19:
      ../include/linux/syscalls.h:211:18: warning: 'sys_process_vm_readv' alias between functions of incompatible types 'long int(pid_t,  const struct iovec *, long unsigned int,  const struct iovec *, long unsigned int,  long unsigned int)' {aka 'long int(int,  const struct iovec *, long unsigned int,  const struct iovec *, long unsigned int,  long unsigned int)'} and 'long int(long int,  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:201:36: note: in expansion of macro 'SYSCALL_DEFINEx'
       #define SYSCALL_DEFINE6(name, ...) SYSCALL_DEFINEx(6, _##name, __VA_ARGS__)
                                          ^~~~~~~~~~~~~~~
      ../mm/process_vm_access.c:300:1: note: in expansion of macro 'SYSCALL_DEFINE6'
       SYSCALL_DEFINE6(process_vm_readv, pid_t, pid, const struct iovec __user *, lvec,
       ^~~~~~~~~~~~~~~
      ../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:201:36: note: in expansion of macro 'SYSCALL_DEFINEx'
       #define SYSCALL_DEFINE6(name, ...) SYSCALL_DEFINEx(6, _##name, __VA_ARGS__)
                                          ^~~~~~~~~~~~~~~
      ../mm/process_vm_access.c:300:1: note: in expansion of macro 'SYSCALL_DEFINE6'
       SYSCALL_DEFINE6(process_vm_readv, pid_t, pid, const struct iovec __user *, lvec,
      
      This is really noisy and does not indicate a real problem. In the latest
      mainline kernel, this was addressed by commit bee20031
      
       ("disable
      -Wattribute-alias warning for SYSCALL_DEFINEx()"), which seems too invasive
      to backport.
      
      This takes a much simpler approach and just disables the warning across the
      kernel.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      430c3fdb
  3. 22 Jul, 2018 1 commit
  4. 11 Jul, 2018 1 commit
  5. 03 Jul, 2018 2 commits
  6. 13 Jun, 2018 1 commit
  7. 30 May, 2018 2 commits
  8. 25 May, 2018 1 commit
  9. 16 May, 2018 1 commit
  10. 02 May, 2018 1 commit
  11. 29 Apr, 2018 1 commit
  12. 24 Apr, 2018 1 commit
  13. 13 Apr, 2018 1 commit
  14. 10 Apr, 2018 1 commit
  15. 08 Apr, 2018 1 commit
  16. 24 Mar, 2018 1 commit
  17. 22 Mar, 2018 1 commit
  18. 18 Mar, 2018 1 commit
  19. 11 Mar, 2018 1 commit
  20. 03 Mar, 2018 1 commit
  21. 28 Feb, 2018 1 commit
  22. 25 Feb, 2018 1 commit
  23. 16 Feb, 2018 1 commit
  24. 07 Feb, 2018 1 commit
  25. 31 Jan, 2018 1 commit
  26. 17 Jan, 2018 1 commit
  27. 02 Jan, 2018 2 commits
  28. 25 Dec, 2017 1 commit
  29. 20 Dec, 2017 1 commit
  30. 16 Dec, 2017 1 commit
  31. 09 Dec, 2017 1 commit
  32. 05 Dec, 2017 1 commit
  33. 30 Nov, 2017 1 commit
  34. 24 Nov, 2017 1 commit
  35. 21 Nov, 2017 1 commit
  36. 18 Nov, 2017 1 commit