From: Jason Gunthorpe <jgg@xxxxxxxxxxxx> This matches what the user space version of this struct has had for some time and it removed several __force casts from the tree. hns and qedr are updated to match what their userspace providers are doing. Jason Gunthorpe (3): RDMA: Mark imm_data as be32 in the verbs uapi header RDMA/hns: Fix endian problems around imm_data and rkey RDMA/qedr: Fix endian problems around imm_data drivers/infiniband/core/uverbs_cmd.c | 2 +- drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 7 ++++--- drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 6 +++--- drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 5 ++++- drivers/infiniband/hw/qedr/verbs.c | 4 ++-- drivers/infiniband/sw/rdmavt/cq.c | 3 +-- drivers/infiniband/sw/rxe/rxe_resp.c | 3 +-- include/uapi/rdma/ib_user_verbs.h | 4 ++-- 8 files changed, 18 insertions(+), 16 deletions(-) -- 2.15.1 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html