RDMA/cxgb4: Declare stag as __be32
Subsystems (2)
PATCH 1/1 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
---
It is reworked version of the https://patchwork.kernel.org/patch/10025363/
Thanks
--- drivers/infiniband/hw/cxgb4/t4.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/infiniband/hw/cxgb4/t4.h +1 -1
@@ -171,7 +171,7 @@ struct t4_cqe {__be32 msn; } rcqe;struct { -u32 stag; +__be32 stag;u16 nada2;u16 cidx; } scqe;
--
2.14.2
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Steve Wise
Reviewed-byQuoted 7 lines
The scqe.stag is actually
__b32, fix it.
drivers/infiniband/hw/cxgb4/cq.c:754:52: warning: cast to restricted__be32Cc Steve Wise <[email protected]>Signed-off-by Leon Romanovsky <[email protected]>
looks good.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Doug Ledford
AppliedQuoted 6 lines · Steve Wise
Quoted 6 lines
The scqe.stag is actually
__b32, fix it.
drivers/infiniband/hw/cxgb4/cq.c:754:52: warning: cast to
restricted__be32
Quoted 6 lines
Quoted 2 lines
Cc Steve Wise <[email protected]>Signed-off-by Leon Romanovsky <[email protected]>looks good.
Reviewed-by Steve Wise <[email protected]>
Thanks, applied.
Signature · 8 lines
Doug Ledford <[email protected]> GPG KeyID: B826A3330E572FDD Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html