From: Wei Yongjun <weiyongjun1@xxxxxxxxxx> Date: Wed, 6 Nov 2019 14:52:31 +0000 > 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@xxxxxxxxxx> Applied, thank you.