Commit d86fd11
mlxsw: spectrum: Fix error return code in mlxsw_sp_port_create()
Fix to return a negative error code from the VID create error handling
case instead of 0, as done elsewhere in this function.
Fixes: c57529e ("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>1 parent 2913085 commit d86fd11
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3043 | 3043 | | |
3044 | 3044 | | |
3045 | 3045 | | |
| 3046 | + | |
3046 | 3047 | | |
3047 | 3048 | | |
3048 | 3049 | | |
| |||
0 commit comments