acrn-kernel/drivers/vdpa/mlx5
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
..
core vdpa/mlx5: Support different address spaces for control and data 2022-08-11 04:26:08 -04:00
net vdpa/mlx5: Fix possible uninitialized return value 2022-08-11 10:00:36 -04:00
Makefile