projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bfbea7
)
RDMA/cxgb4: Declare stag as __be32
author
Leon Romanovsky
<leon@kernel.org>
Wed, 25 Oct 2017 04:41:11 +0000
(07:41 +0300)
committer
Doug Ledford
<dledford@redhat.com>
Wed, 25 Oct 2017 19:25:00 +0000
(15:25 -0400)
The scqe.stag is actually __b32, fix it.
drivers/infiniband/hw/cxgb4/cq.c:754:52: warning: cast to restricted __be32
Cc: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/cxgb4/t4.h
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/cxgb4/t4.h
b/drivers/infiniband/hw/cxgb4/t4.h
index 2b44fa850bbb5e3f29be3f2a8defcc15979596d7..427aaf20d77cb96111ff0c49313b2723cff11f8c 100644
(file)
--- a/
drivers/infiniband/hw/cxgb4/t4.h
+++ b/
drivers/infiniband/hw/cxgb4/t4.h
@@
-171,7
+171,7
@@
struct t4_cqe {
__be32 msn;
} rcqe;
struct {
-
u
32 stag;
+
__be
32 stag;
u16 nada2;
u16 cidx;
} scqe;