diff options
author | oulijun <oulijun@huawei.com> | 2018-07-09 17:48:06 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-07-11 14:09:25 -0600 |
commit | 0576cbde14482931b29c50e10f274805e6721bbe (patch) | |
tree | 5f0a177452d17ffff112089e609fd982e0c325ee /drivers/infiniband/hw/hns/hns_roce_hw_v1.h | |
parent | beae9eb555b918ecaf2214f2fd0a1af2dcec3ad7 (diff) | |
download | blackbird-op-linux-0576cbde14482931b29c50e10f274805e6721bbe.tar.gz blackbird-op-linux-0576cbde14482931b29c50e10f274805e6721bbe.zip |
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>
Diffstat (limited to 'drivers/infiniband/hw/hns/hns_roce_hw_v1.h')
-rw-r--r-- | drivers/infiniband/hw/hns/hns_roce_hw_v1.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/hns/hns_roce_hw_v1.h b/drivers/infiniband/hw/hns/hns_roce_hw_v1.h index e9a2717ea7cd..66440147d9eb 100644 --- a/drivers/infiniband/hw/hns/hns_roce_hw_v1.h +++ b/drivers/infiniband/hw/hns/hns_roce_hw_v1.h @@ -260,7 +260,7 @@ struct hns_roce_cqe { __le32 cqe_byte_4; union { __le32 r_key; - __be32 immediate_data; + __le32 immediate_data; }; __le32 byte_cnt; __le32 cqe_byte_16; |