On Wed, Jun 20, 2018 at 03:47:11PM -0600, Jason Gunthorpe wrote: > In this context the uobject is not allowed to be NULL, so type > is the same as uobject->type, and at least for IDR, id is the same as > uobject->id. > > FD objects should never handle the FD number outside the uAPI boundary > code. > > Suggested-by: Guy Levi <guyle@xxxxxxxxxxxx> > Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxxxx> > --- > drivers/infiniband/core/uverbs_ioctl.c | 6 ++---- > include/rdma/uverbs_ioctl.h | 4 ---- > 2 files changed, 2 insertions(+), 8 deletions(-) Applied to for-next 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