Re: [PATCH] uapi/linux/stddef.h: Provide __always_inline to userspace headers

2016-03-30 Thread Josh Boyer
On Tue, Mar 29, 2016 at 6:14 PM, Denys Vlasenko wrote: > Recent change to uapi/linux/swab.h needs this. > > Unfortunately, UAPI headers don't include compiler.h and fixing it there is > not enough. > > Tested. Testcase: "make headers_install" and try to compile this: > > #include >

[PATCH] uapi/linux/stddef.h: Provide __always_inline to userspace headers

2016-03-29 Thread Denys Vlasenko
Recent change to uapi/linux/swab.h needs this. Unfortunately, UAPI headers don't include compiler.h and fixing it there is not enough. Tested. Testcase: "make headers_install" and try to compile this: #include void main() {} Signed-off-by: Denys Vlasenko CC: Josh Boyer CC: T