> > +static struct idr *cma_select_ib_ps(struct rdma_id_private *id_priv)
> > [...]
> > + if (ps) {
> > + sib->sib_sid = cpu_to_be64(sid_ps | ntohs(cma_port((struct
> sockaddr *) sib)));
> > + sib->sib_sid_mask = cpu_to_be64(RDMA_IB_IP_PS_MASK | sib-
> >sib_sid_mask);
> > + }
> > + return ps;
>
> looks like ntohs(cma_port((struct sockaddr *) sib)) introduced this sparse
> warning
>
> > drivers/infiniband/core/cma.c:2338:37: warning: restricted __be64
> > degrades to integer
I don't understand this warning, but I'll re-run sparse on the complete patch
set and fixup any issues. (I thought I had run sparse against the patches, but
maybe it was an older change set.) Thanks.
- Sean
--
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