On Tue, 5 Oct 2004 13:42:54 -0700
Sean Hefty <[EMAIL PROTECTED]> wrote:

> On Tue, 05 Oct 2004 15:03:12 -0400
> Hal Rosenstock <[EMAIL PROTECTED]> wrote:
> 
> > +                   rbuf = list_entry(&port_priv->recv_posted_mad_list[i],
> > +                                      struct ib_mad_recv_buf, list);
> > +                   rbuf = (struct ib_mad_recv_buf *)rbuf->list.next;
> 
> Can we change this, and similar occurrences, to use "->next" in the list_entry macro 
> call itself?  Currently, after the execution of the first statement, rbuf does not 
> reference struct ib_mad_recv_buf.  It references the port_priv routine.
- 
Er... structure that is, not routine...  too much multitasking on my brain at the 
moment.
_______________________________________________
openib-general mailing list
[EMAIL PROTECTED]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to