]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: DR: Fix cast to restricted __be32
authorSaeed Mahameed <saeedm@mellanox.com>
Thu, 28 May 2020 08:11:37 +0000 (01:11 -0700)
committerSaeed Mahameed <saeedm@mellanox.com>
Sat, 30 May 2020 04:20:21 +0000 (21:20 -0700)
commitfe70476940dbf453479886c3d3ad4e844d179178
tree8aa683378ae6817df5587009d77701c3c64afdc4
parent057e247c041f22e23590628e85ab70ff06d97a54
net/mlx5: DR: Fix cast to restricted __be32

raw_ip actual type is __be32 and not u32.
Fix that and get rid of the warning.

drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c:906:31:
warning: cast to restricted __be32

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c