On Wed, Mar 21, 2018 at 06:17:27PM +0200, Matan Barak wrote: > >So only the kernel macro is wrong, please fix it to > > > > #define RDMA_UAPI_PTR(_type, _name) __aligned_u64 _name > > > > By doing this, you're loosing the type information. Why not > defining it both in user-space and kernel as union {_type _name; > __aligned_u64 _name ## _data_u64; } The kernel can't use the pointer, so why define it for it? Are there some macros or something that check it in the kernel? Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html