aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorLeon Romanovsky <[email protected]>2019-03-19 11:10:08 +0200
committerJason Gunthorpe <[email protected]>2019-04-02 10:40:41 -0300
commit6734b2973565e36659e97e12ab0d0faf1d9f3fbe (patch)
treec381a32db94c1fa2312d1ba1dd52d9150ef42f3a /tools/perf/scripts/python/sched-migration.py
parentff23dfa134576e071ace69e91761d229a0f73139 (diff)
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: 9a4435375cd1 ("IB/hns: Add driver files for hns RoCE driver") Signed-off-by: Leon Romanovsky <[email protected]> Reviewed-by: Gal Pressman <[email protected]> Reviewed-by: Lijun Ou <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions