aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorSaeed Mahameed <[email protected]>2020-05-28 01:14:31 -0700
committerSaeed Mahameed <[email protected]>2020-05-29 21:20:21 -0700
commit9ff2e92c466dc1aa4d970e5027dfd66b1f32b7bc (patch)
tree673c3d2e9937c634f5d88d7d671334dec8a91fde /lib/mpi/mpi-sub-ui.c
parentc2ba2c2287698bac36bf71e5c4f3be423371bee0 (diff)
net/mlx5: DR: Fix incorrect type in return expression
dr_ste_crc32_calc() calculates crc32 and should return it in HW format. It is being used to calculate a u32 index, hence we force the return value of u32 to avoid the sparse warning: drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c:115:16: warning: incorrect type in return expression (different base types) expected unsigned int got restricted __be32 [usertype] Signed-off-by: Saeed Mahameed <[email protected]> Reviewed-by: Mark Bloch <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions