RDMA/hns: Fix endian conversions and annotations

This patch removes the warnings reported by sparse.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
This commit is contained in:
oulijun 2018-07-09 17:48:06 +08:00 • committed by Jason Gunthorpe
commit 0576cbde14
3 changed files with 245 additions and 171 deletions