net/mlx5: change non failing function return values