diff options
author | Arkadi Sharshevsky <arkadis@mellanox.com> | 2017-08-24 08:40:05 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-24 09:33:16 -0700 |
commit | 7e57ae9fc5fc7fa056bfb7fd60ac0d9df938b174 (patch) | |
tree | 24cb00d77af3256d2f9502a3313fdea6d823fa50 /drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c | |
parent | f17cc84d1c2f661cb29cb7efc58f9d654ef3c643 (diff) |
mlxsw: spectrum_dpipe: Fix label name
Change label name for case of erif table init failure.
Signed-off-by: Arkadi Sharshevsky <arkadis@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c b/drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c index 1305df9c6bf9..6310c2c204c7 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c +++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c @@ -324,10 +324,10 @@ int mlxsw_sp_dpipe_init(struct mlxsw_sp *mlxsw_sp) return err; err = mlxsw_sp_dpipe_erif_table_init(mlxsw_sp); if (err) - goto err_erif_register; + goto err_erif_table_init; return 0; -err_erif_register: +err_erif_table_init: devlink_dpipe_headers_unregister(priv_to_devlink(mlxsw_sp->core)); return err; } |