aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2016-08-17 16:39:35 +0200
committerDavid S. Miller <davem@davemloft.net>2016-08-17 19:18:27 -0400
commit0583272d91f0f4e21f1eb666786286863185be7e (patch)
treebb9e50be5423c1126f9258c2e3d963d5308e8cc5 /drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c
parentmlxsw: reg: Fix missing op field fill-up (diff)
downloadlinux-dev-0583272d91f0f4e21f1eb666786286863185be7e.tar.xz
linux-dev-0583272d91f0f4e21f1eb666786286863185be7e.zip
mlxsw: spectrum: Add missing rollbacks in error path
While going over the code I noticed we are missing two rollbacks in the port's creation error path. Add them and adjust the place of one of them in the port's removal sequence so that both are symmetric. Fixes: 56ade8fe3fe1 ("mlxsw: spectrum: Add initial support for Spectrum ASIC") Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions