aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/dsa
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2017-11-06 11:11:28 +0000
committerDavid S. Miller <davem@davemloft.net>2017-11-08 13:25:15 +0900
commitd86fd113ebbb37726ef7c7cc6fd6d5ce377455d6 (patch)
treea172a08f3e9022ee217277398b3dd70c73bfd66c /include/linux/dsa
parentdpaa_eth: fix error return code in dpaa_eth_probe() (diff)
downloadlinux-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