]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
RDMA/cxgb3: Endianness annotation for irs field
authorRoland Dreier <rolandd@cisco.com>
Fri, 25 Jan 2008 22:15:42 +0000 (14:15 -0800)
committerRoland Dreier <rolandd@cisco.com>
Fri, 25 Jan 2008 22:15:42 +0000 (14:15 -0800)
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>
drivers/infiniband/hw/cxgb3/cxio_wr.h

index c84d4ac49355b3bc2f3d41f265b4e75c8cb568cf..de366b0627b81b9d92ad1b3c587263e3790a9415 100644 (file)
@@ -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 {