On Fri, Oct 28, 2016 at 06:16:06PM +0300, Leon Romanovsky wrote: > And it is indeed happen for new code. This magic is needed to allow legacy > write interface to be converted to new ioctl interface internally in > kernel. You just added these statements which are by defintion new code. Don't do that - create a clean kernel internal interface instead. The canonical one would be to only pass kernel pointers in the internal interface. -- 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