summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/hfi1/platform.c
diff options
context:
space:
mode:
authorCheng Xu <chengyou@linux.alibaba.com>2023-03-22 17:33:17 +0800
committerLeon Romanovsky <leon@kernel.org>2023-03-22 13:10:46 +0200
commitde19ec778c7a4ee2fe2112126c5d05a10db2d582 (patch)
treec14830aa77170a04a8d4b8767395c3904cc07ccf /drivers/infiniband/hw/hfi1/platform.c
parent697d5cf073acd41a8ab135695bb1e2ae3fd0acb3 (diff)
RDMA/erdma: Unify byte ordering APIs usage
Replace __be32_to_cpu/__cpu_to_be16 with be32_to_cpu/cpu_to_be16. And use be32_to_cpu_array to copy and swap byte order to hide the loop. Signed-off-by: Cheng Xu <chengyou@linux.alibaba.com> Link: https://lore.kernel.org/r/20230322093319.84045-2-chengyou@linux.alibaba.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/platform.c')
0 files changed, 0 insertions, 0 deletions