diff options
author | Roland Dreier <rolandd@cisco.com> | 2008-01-25 17:15:42 -0500 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-01-25 17:15:42 -0500 |
commit | 1d6e658e8e3247fcf0fa90c40fdfebf2e85a610e (patch) | |
tree | fed64880f5886d4991d9e6910985054faefee4f6 /drivers/infiniband | |
parent | 1a7d2dce4169ed42310926a5675fffd0986caa26 (diff) |
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 <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/hw/cxgb3/cxio_wr.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
315 | __be32 ird; | 315 | __be32 ird; |
316 | __be64 qp_dma_addr; /* 7 */ | 316 | __be64 qp_dma_addr; /* 7 */ |
317 | __be32 qp_dma_size; /* 8 */ | 317 | __be32 qp_dma_size; /* 8 */ |
318 | u32 irs; | 318 | __be32 irs; |
319 | }; | 319 | }; |
320 | 320 | ||
321 | struct t3_genbit { | 321 | struct t3_genbit { |