WSL2-Linux-Kernel/drivers/vdpa
Eli Cohen 93e530d2a1 vdpa/mlx5: Fix possible uninitialized return value
Initialize err local variable to return -EAGAIN if the asid cannot be
found thus avoiding returning uninitialized value.

Fixes: 8fcd20c307 ("vdpa/mlx5: Support different address spaces for control and data")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Eli Cohen <elic@nvidia.com>
Message-Id: <20220811134010.952291-1-elic@nvidia.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2022-08-11 10:00:36 -04:00
..
alibaba vdpa: multiple address spaces support 2022-05-31 12:44:27 -04:00
ifcvf vDPA/ifcvf: support userspace to query features and MQ of a management device 2022-08-11 04:26:08 -04:00
mlx5 vdpa/mlx5: Fix possible uninitialized return value 2022-08-11 10:00:36 -04:00
vdpa_sim vdpa_sim_blk: add support for discard and write-zeroes 2022-08-11 04:44:58 -04:00
vdpa_user vduse: Support querying information of IOVA regions 2022-08-11 04:26:08 -04:00
virtio_pci vdpa/vp_vdpa : add vdpa tool support in vp_vdpa 2022-05-31 12:45:09 -04:00
Kconfig eni_vdpa: add vDPA driver for Alibaba ENI 2021-11-01 05:23:41 -04:00
Makefile eni_vdpa: add vDPA driver for Alibaba ENI 2021-11-01 05:23:41 -04:00
vdpa.c vDPA: fix 'cast to restricted le16' warnings in vdpa.c 2022-08-11 04:26:08 -04:00