Dan Carpenter <dan.carpenter@xxxxxxxxxx> writes: > These error paths return success but they should return -ENOMEM. > > Fixes: 01328e23a476 ("mlxsw: minimal: Extend module to port mapping with slot index") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Reviewed-by: Petr Machata <petrm@xxxxxxxxxx> Thanks!