Re: [PATCH 2/3] disable -Wattribute-alias warning for SYSCALL_DEFINEx()

2018-06-18 Thread Christophe LEROY
Le 16/06/2018 à 02:53, Paul Burton a écrit : From: Arnd Bergmann gcc-8 warns for every single definition of a system call entry point, e.g.: include/linux/compat.h:56:18: error: 'compat_sys_rt_sigprocmask' alias between functions of incompatible types 'long int(int, compat_sigset_t *,

[PATCH 2/3] disable -Wattribute-alias warning for SYSCALL_DEFINEx()

2018-06-15 Thread Paul Burton
From: Arnd Bergmann gcc-8 warns for every single definition of a system call entry point, e.g.: include/linux/compat.h:56:18: error: 'compat_sys_rt_sigprocmask' alias between functions of incompatible types 'long int(int, compat_sigset_t *, compat_sigset_t *, compat_size_t)' {aka 'long