aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/freescale
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2019-11-06 14:52:31 +0000
committerDavid S. Miller <davem@davemloft.net>2019-11-07 15:12:55 -0800
commit630d4e75dd2969bf7da40beb3d4704356d12ae39 (patch)
tree921c3e688995bc1ac5c65ff7c9a264188cbaf589 /drivers/net/ethernet/freescale
parentMerge branch 'cxgb4-add-support-for-TC-MQPRIO-Qdisc-Offload' (diff)
downloadlinux-dev-630d4e75dd2969bf7da40beb3d4704356d12ae39.tar.xz
linux-dev-630d4e75dd2969bf7da40beb3d4704356d12ae39.zip
mlxsw: spectrum: Fix error return code in mlxsw_sp_port_module_info_init()
Fix to return negative error code -ENOMEM from the error handling case instead of 0, as done elsewhere in this function. Fixes: 4a7f970f1240 ("mlxsw: spectrum: Replace port_to_module array with array of structs") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Reviewed-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale')
0 files changed, 0 insertions, 0 deletions