mlxsw: Fixlets
Subsystems (3)
cover mlxsw: Fixlets
From: Jiri Pirko <[email protected]>
Couple of small nit fixes from Petr
Petr Machata (2):
mlxsw: spectrum_router: Fix a typo
mlxsw: spectrum_router: Drop a redundant condition
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.9.5
PATCH 1/2 mlxsw: spectrum_router: Fix a typo
From: Petr Machata <[email protected]>
Signed-off-by Petr Machata <[email protected]>
Signed-off-by Jiri Pirko <[email protected]>
--- drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c +1 -1
@@ -1680,7 +1680,7 @@ __mlxsw_sp_router_neighs_update_rauhtd(struct mlxsw_sp *mlxsw_sp, err =mlxsw_reg_query (mlxsw_sp->core,MLXSW_REG (rauhtd), rauhtd_pl);if (err) { -dev_err_ratelimited (mlxsw_sp->bus_info->dev,"Failed to dump neighbour talbe\n" ); +dev_err_ratelimited (mlxsw_sp->bus_info->dev,"Failed to dump neighbour table\n" );break ; } num_rec =mlxsw_reg_rauhtd_num_rec_get (rauhtd_pl);
Signature · 1 line
2.9.5
PATCH 2/2 mlxsw: spectrum_router: Drop a redundant condition
In reply to Jiri PirkoFrom: Petr Machata <[email protected]>
Signed-off-by Petr Machata <[email protected]>
Reviewed-by Ido Schimmel <[email protected]>
Signed-off-by Jiri Pirko <[email protected]>
--- drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c +1 -1
@@ -3251,7 +3251,7 @@ mlxsw_sp_fib_entry_offload_refresh(struct mlxsw_sp_fib_entry *fib_entry,return ;if (mlxsw_sp_fib_entry_should_offload (fib_entry))mlxsw_sp_fib_entry_offload_set (fib_entry); -else if (!mlxsw_sp_fib_entry_should_offload (fib_entry)) +else mlxsw_sp_fib_entry_offload_unset (fib_entry);return ;default :
Signature · 1 line
2.9.5
David Miller
maintainerFrom: Jiri Pirko <[email protected]>
Date: Mon, 2 Oct 2017 12:21:56 +0200
Quoted 3 lines
From: Jiri Pirko <[email protected]>
Couple of small nit fixes from Petr
Series applied.