]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit93a8cf6b52623620c82708dd74b05da8a2f5f7e5
tree162647dda6abf2f354d5aa5b1c4d1a99954ce783
parenta71af0f5c210d19ca6c3e63939606dcea79f4355
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