linux-stable/drivers/vdpa/mlx5
Jing Xiangfeng 7ba08e81cb vdpa/mlx5: Fix error return in map_direct_mr()
Fix to return the variable "err" from the error handling case instead
of "ret".

Fixes: 94abbccdf2 ("vdpa/mlx5: Add shared memory registration code")
Signed-off-by: Jing Xiangfeng <jingxiangfeng@huawei.com>
Link: https://lore.kernel.org/r/20201026070637.164321-1-jingxiangfeng@huawei.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Eli Cohen <elic@nvidia.com>
Cc: stable@vger.kernel.org
Acked-by: Jason Wang <jasowang@redhat.com>
2020-10-30 04:02:34 -04:00
..
core vdpa/mlx5: Fix error return in map_direct_mr() 2020-10-30 04:02:34 -04:00
net vdpa/mlx5: Setup driver only if VIRTIO_CONFIG_S_DRIVER_OK 2020-10-21 10:36:54 -04:00
Makefile vdpa/mlx5: Add VDPA driver for supported mlx5 devices 2020-08-05 19:00:24 -04:00