mlx4_core: return a negative error value