Skip to content

Commit

Permalink
RDMA/cxgb3: Endianness annotation for irs field
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Roland Dreier committed Jan 25, 2008
1 parent 1a7d2dc commit 1d6e658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/infiniband/hw/cxgb3/cxio_wr.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1d6e658

Please sign in to comment.