diff options
author | Cheng Xu <chengyou@linux.alibaba.com> | 2023-03-22 17:33:17 +0800 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2023-03-22 13:10:46 +0200 |
commit | de19ec778c7a4ee2fe2112126c5d05a10db2d582 (patch) | |
tree | c14830aa77170a04a8d4b8767395c3904cc07ccf /drivers/infiniband/hw/hfi1/platform.c | |
parent | 697d5cf073acd41a8ab135695bb1e2ae3fd0acb3 (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