diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2017-11-06 11:11:28 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-08 13:25:15 +0900 |
commit | d86fd113ebbb37726ef7c7cc6fd6d5ce377455d6 (patch) | |
tree | a172a08f3e9022ee217277398b3dd70c73bfd66c /include/linux/dsa | |
parent | dpaa_eth: fix error return code in dpaa_eth_probe() (diff) | |
download | linux-dev-d86fd113ebbb37726ef7c7cc6fd6d5ce377455d6.tar.xz linux-dev-d86fd113ebbb37726ef7c7cc6fd6d5ce377455d6.zip |
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: c57529e1d5d8 ("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>
Diffstat (limited to 'include/linux/dsa')
0 files changed, 0 insertions, 0 deletions