projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a7d2dc
)
RDMA/cxgb3: Endianness annotation for irs field
author
Roland Dreier
<rolandd@cisco.com>
Fri, 25 Jan 2008 22:15:42 +0000
(14:15 -0800)
committer
Roland 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/infiniband/hw/cxgb3/cxio_wr.h
b/drivers/infiniband/hw/cxgb3/cxio_wr.h
index c84d4ac49355b3bc2f3d41f265b4e75c8cb568cf..de366b0627b81b9d92ad1b3c587263e3790a9415 100644
(file)
--- 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 */
-
u
32 irs;
+
__be
32 irs;
};
struct t3_genbit {