[openib-general] Re: [PATCH] ib_verbs.h ib_send_wr imm_data endianness

Michael S. Tsirkin mst at mellanox.co.il
Thu Jun 23 10:22:33 PDT 2005


Quoting r. Roland Dreier <roland at topspin.com>:
> Subject: Re: [PATCH] ib_verbs.h ib_send_wr imm_data endianness
> 
>     Michael> Mark imm_data as big endian in ib_send_wr, same as we do
>     Michael> in ib_wc.
> 
> Thanks, applied.
> 
> Have you tried using -Wbitwise when building drivers/infiniband?  How
> bad is it?
> 
>  - R.
> 

Not, yet. I'm reading up a bit on sparse now.
BTW, from what I'm reading it seems we need to mark flag enums with the bitwise 
flag. But we'll see about that.

-- 
MST



More information about the general mailing list