[ofa-general] [PATCH] RDMA/cxgb3: Endianness annotation
Roland Dreier
rdreier at cisco.com
Fri Jan 11 11:42:12 PST 2008
Steve, is this change correct? The only place the irs field is
assigned to is with cpu_to_be32(). If it looks good, I'll merge it
for 2.6.25...
diff --git a/drivers/infiniband/hw/cxgb3/cxio_wr.h b/drivers/infiniband/hw/cxgb3/cxio_wr.h
index c84d4ac..de366b0 100644
--- a/drivers/infiniband/hw/cxgb3/cxio_wr.h
+++ b/drivers/infiniband/hw/cxgb3/cxio_wr.h
@@ -315,7 +315,7 @@ struct t3_rdma_init_wr {
__be32 ird;
__be64 qp_dma_addr; /* 7 */
__be32 qp_dma_size; /* 8 */
- u32 irs;
+ __be32 irs;
};
struct t3_genbit {
More information about the general
mailing list