diff options
author | Bob Pearson <rpearsonhpe@gmail.com> | 2021-07-06 23:00:41 -0500 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-07-16 12:43:35 -0300 |
commit | 923232bbea88a29f18a2361790582a6474a538fc (patch) | |
tree | 94373cef819fca22589ed1c85887e51133caa128 /drivers/acpi/event.c | |
parent | e4f5c82fefa9bce9a5e010901c2d16f2654b1f18 (diff) |
RDMA/rxe: Fix types in rxe_icrc.c
Currently the ICRC is generated as a u32 type and then forced to a __be32
and stored into the ICRC field in the packet. The actual type of the ICRC
is __be32. This patch replaces u32 by __be32 and eliminates the casts.
The computation is exactly the same as the original but the types are more
consistent.
Link: https://lore.kernel.org/r/20210707040040.15434-10-rpearsonhpe@gmail.com
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/acpi/event.c')
0 files changed, 0 insertions, 0 deletions