summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/cxgb4/t4.h
diff options
context:
space:
mode:
authorLeon Romanovsky <leon@kernel.org>2017-10-25 07:41:11 +0300
committerDoug Ledford <dledford@redhat.com>2017-10-25 22:25:00 +0300
commit35fb2a88ed4b77356fa679a8525c869a3594e287 (patch)
treef51131c9cad3251a33c7e8690104878ba7ae22d2 /drivers/infiniband/hw/cxgb4/t4.h
parent3bfbea747353c2b40b48784b70e782ca5352f18c (diff)
downloadlinux-35fb2a88ed4b77356fa679a8525c869a3594e287.tar.xz
RDMA/cxgb4: Declare stag as __be32
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>
Diffstat (limited to 'drivers/infiniband/hw/cxgb4/t4.h')
-rw-r--r--drivers/infiniband/hw/cxgb4/t4.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/cxgb4/t4.h b/drivers/infiniband/hw/cxgb4/t4.h
index 2b44fa850bbb..427aaf20d77c 100644
--- 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 {
- u32 stag;
+ __be32 stag;
u16 nada2;
u16 cidx;
} scqe;