Skip to content
Commit aee3e9c4 authored by Saeed Mahameed's avatar Saeed Mahameed
Browse files

net/mlx5: Accel: fpga tls fix cast to __be64 and incorrect argument types



tls handle and rcd_sn are actually big endian and not in host format.
Fix that.

Fix the following sparse warnings:
drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c:177:21:
warning: cast to restricted __be64

drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c:178:52:
warning: incorrect type in argument 2 (different base types)
    expected unsigned int [usertype] handle
    got restricted __be32 [usertype] handle

Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
parent 2553f421
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment