RDMA/qedr: Fix endian problems around imm_data
authorJason Gunthorpe <jgg@mellanox.com>
Thu, 11 Jan 2018 21:43:07 +0000 (14:43 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 15 Jan 2018 22:33:21 +0000 (15:33 -0700)
commit7bed7ebcb7c33eb789292f8ecc881d785b13a04c
treea1c3e25daa55bfb062bb968020274a896b0950e4
parentccb8a29e7db29f2b889300a80bd0684d646f796b
RDMA/qedr: Fix endian problems around imm_data

The double swap matches what user space rdma-core does to imm_data.

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

Acked-by: Michal Kalderon <michal.kalderon@cavium.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/qedr/verbs.c