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>
This commit is contained in:
parent
618f88c4c4
commit
c2ba2c2287
1 changed files with 1 additions and 1 deletions
|
|
@ -869,7 +869,7 @@ static void dr_ste_copy_mask_misc(char *mask, struct mlx5dr_match_misc *spec)
|
|||
|
||||
static void dr_ste_copy_mask_spec(char *mask, struct mlx5dr_match_spec *spec)
|
||||
{
|
||||
u32 raw_ip[4];
|
||||
__be32 raw_ip[4];
|
||||
|
||||
spec->smac_47_16 = MLX5_GET(fte_match_set_lyr_2_4, mask, smac_47_16);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue