[openib-general] Re: [PATCH] fix list_entry usage

Hal Rosenstock halr at voltaire.com
Thu Oct 14 05:30:45 PDT 2004


On Wed, 2004-10-13 at 19:52, Sean Hefty wrote:
> Patch fixes casting to incorrect structures when calling list_entry().

Have you tried this ? It doesn't work (at least for me). (I had also
tried the previous similar patch with the same results but forgot to
report back). It is on my list to debug further unless you get to it
first.

                rbuf =
list_entry(&port_priv->recv_posted_mad_list[qpn].next,
                                 struct ib_mad_recv_buf,
                                 list);

does not appear to be obtaining next. Similarly for the other changes.

-- Hal




More information about the general mailing list