]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: en_tc: Fix cast to restricted __be32 warning
authorSaeed Mahameed <saeedm@mellanox.com>
Thu, 28 May 2020 07:22:12 +0000 (00:22 -0700)
committerSaeed Mahameed <saeedm@mellanox.com>
Sat, 30 May 2020 04:20:22 +0000 (21:20 -0700)
commite538222ac691d551a880359fe2216929acf2d37f
treec61db616b7435162fc43fc23de33cf895e62fac7
parent0eba494cf57945105c07cfdf2d5f67107e212eb5
net/mlx5e: en_tc: Fix cast to restricted __be32 warning

Fixes sparse warnings:
warning: cast to restricted __be32
warning: restricted __be32 degrades to integer

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