[openib-general] Re: ibv_get_device_guid() not byte swapping

Michael S. Tsirkin mst at mellanox.co.il
Wed Sep 7 01:30:12 PDT 2005


Quoting Roland Dreier <rolandd at cisco.com>:
> Perhaps changing the guid to a union is the easiest thing to do.

Take care however, taking pointers to a union member and passing it
down to another function seems also a buggy field. See e.g.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12404
(seems fixed in 3.4.0)

-- 
MST



More information about the general mailing list