[openib-general] Re: [PATCH] sa_query: In send_mad, initialize wr.next to NULL

Roland Dreier roland at topspin.com
Fri Jun 3 10:27:45 PDT 2005


    Roland> Does this solve a real problem?  As far as I know, the C
    Roland> standard requires any pointer fields not explicitly named
    Roland> in a designated initializer for a structure to be
    Roland> initialized to NULL.

In other words -- since my previous post was kind of incomprehensible --
I think wr.next is already being initialized to NULL and this patch
doesn't do anything.

 - R.



More information about the general mailing list