On Mon, Dec 07, 2015 at 09:26:11PM +0000, Hefty, Sean wrote:
> > +static int rvt_query_device(struct ib_device *ibdev,
> > + struct ib_device_attr *props,
> > + struct ib_udata *uhw)
> > +{
> > + /*
> > + * Return rvt_dev_info.props contents
> > + */
> > + return -EINVAL;
>
> ENOSYS on all of the function templates. This and subsequent patches.
We recently had a long discussion about what the correct answer here
is.
ENOSYS and EINVAL are both wrong for different reasons.. Can't recall
if something else was settled on? I think I was suggesting one of the
ENOTSUP varients?
Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html