RDMA/hns: Fix endian problems around imm_data and rkey
authorJason Gunthorpe <jgg@mellanox.com>
Thu, 11 Jan 2018 21:43:06 +0000 (14:43 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 15 Jan 2018 22:33:21 +0000 (15:33 -0700)
commitccb8a29e7db29f2b889300a80bd0684d646f796b
tree162647dda6abf2f354d5aa5b1c4d1a99954ce783
parentc966ea12c00515e70a976aec57d1a4334582c411
RDMA/hns: Fix endian problems around imm_data and rkey

This matches the changes made recently to the userspace hns
driver when it was made sparse clean.

See rdma-core commit bffd380cfe56 ("libhns: Make the provider sparse
clean")

wc->imm_data is not used in the kernel so this change has no practical
impact.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_hw_v1.c
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
drivers/infiniband/hw/hns/hns_roce_hw_v2.h