RDMA/hns: Fix endian conversions and annotations
authoroulijun <oulijun@huawei.com>
Mon, 9 Jul 2018 09:48:06 +0000 (17:48 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 11 Jul 2018 20:09:25 +0000 (14:09 -0600)
commit0576cbde14482931b29c50e10f274805e6721bbe
tree5f0a177452d17ffff112089e609fd982e0c325ee
parentbeae9eb555b918ecaf2214f2fd0a1af2dcec3ad7
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>
drivers/infiniband/hw/hns/hns_roce_device.h
drivers/infiniband/hw/hns/hns_roce_hw_v1.c
drivers/infiniband/hw/hns/hns_roce_hw_v1.h