linux/drivers/infiniband/hw
Leon Romanovsky 6734b29735 RDMA/hns: Fix bad endianess of port_pd variable
port_pd is treated as le32 in declaration and read, fix assignment to be
in le32 too. This change fixes the following compilation warnings.

drivers/infiniband/hw/hns/hns_roce_ah.c:67:24: warning: incorrect type
in assignment (different base types)
drivers/infiniband/hw/hns/hns_roce_ah.c:67:24: expected restricted __le32 [usertype] port_pd
drivers/infiniband/hw/hns/hns_roce_ah.c:67:24: got restricted __be32 [usertype]

Fixes: 9a4435375c ("IB/hns: Add driver files for hns RoCE driver")
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Gal Pressman <galpress@amazon.com>
Reviewed-by: Lijun Ou <ouliun@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-04-02 10:40:41 -03:00
..
bnxt_re IB: Pass only ib_udata in function prototypes 2019-04-01 15:00:47 -03:00
cxgb3 IB: Pass only ib_udata in function prototypes 2019-04-01 15:00:47 -03:00
cxgb4 IB: Pass only ib_udata in function prototypes 2019-04-01 15:00:47 -03:00
hfi1 hfi1: Convert hfi1_unit_table to XArray 2019-04-01 13:27:35 -03:00
hns RDMA/hns: Fix bad endianess of port_pd variable 2019-04-02 10:40:41 -03:00
i40iw IB: Pass only ib_udata in function prototypes 2019-04-01 15:00:47 -03:00
mlx4 IB: Pass only ib_udata in function prototypes 2019-04-01 15:00:47 -03:00
mlx5 IB: Pass only ib_udata in function prototypes 2019-04-01 15:00:47 -03:00
mthca IB: Pass only ib_udata in function prototypes 2019-04-01 15:00:47 -03:00
nes IB: Pass only ib_udata in function prototypes 2019-04-01 15:00:47 -03:00
ocrdma IB: Pass only ib_udata in function prototypes 2019-04-01 15:00:47 -03:00
qedr IB: Pass only ib_udata in function prototypes 2019-04-01 15:00:47 -03:00
qib qib: Convert qib_unit_table to XArray 2019-04-01 13:31:35 -03:00
usnic IB: Pass only ib_udata in function prototypes 2019-04-01 15:00:47 -03:00
vmw_pvrdma IB: Pass only ib_udata in function prototypes 2019-04-01 15:00:47 -03:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00