[openib-general] Re: Re: [PATCH 3/27] Add MAD helper functions

Michael S. Tsirkin mst at mellanox.co.il
Tue Jul 12 15:17:25 PDT 2005


Quoting r. Tom Duffy <tduffy at sun.com>:
> These seem to be mostly coming from cpu_to_be*() and be*_to_cpu().  Is
> there a good rule of thumb for fixing these warnings?

Yes.
Use attributes like __be32 and friends appropriately.

-- 
MST



More information about the general mailing list