From: Roland Dreier Date: Fri, 25 Jan 2008 22:15:42 +0000 (-0800) Subject: RDMA/cxgb3: Endianness annotation for irs field X-Git-Tag: v2.6.25-rc1~1234^2~25 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=1d6e658e8e3247fcf0fa90c40fdfebf2e85a610e;p=linux-2.6-omap-h63xx.git RDMA/cxgb3: Endianness annotation for irs field t3_rdma_init_wr.irs is a big-endian field, so declare it as __be32. This fixes one sparse warning. Signed-off-by: Roland Dreier --- diff --git a/drivers/infiniband/hw/cxgb3/cxio_wr.h b/drivers/infiniband/hw/cxgb3/cxio_wr.h index c84d4ac4935..de366b0627b 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 {