mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
mlxsw: spectrum: Fix error return code in mlxsw_sp_port_create()
[ Upstream commitd86fd113eb] Fix to return a negative error code from the VID create error handling case instead of 0, as done elsewhere in this function. Fixes:c57529e1d5("mlxsw: spectrum: Replace vPorts with Port-VLAN") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ac6864737c
commit
540236e28f
1 changed files with 1 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue