On Thu, Jul 06, 2017 at 04:03:30PM +0100, Al Viro wrote: > On Thu, Jul 06, 2017 at 04:48:40PM +0200, Christoph Hellwig wrote: > > > Just did the whole batch (patch below), but it seems like using a > > __bitwise type in SYSCALL_DEFINE* will always give warnings like: > > > > fs/read_write.c:1095:1: warning: cast to restricted __kernel_rwf_t > > > > which I'm not sure to deal with.. > > #define __SC_CAST(t, a) (__force t) a doesn't seem to make a difference..