summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorEli Cohen <elic@nvidia.com>2022-08-11 16:40:10 +0300
committerMichael S. Tsirkin <mst@redhat.com>2022-08-11 10:00:36 -0400
commit93e530d2a1c4c0fcce45e01ae6c5c6287a08d3e3 (patch)
tree379db2156a85d2bc57500fca8e5ed6260d7b0c23 /tools
parent4a44a5eda245453ed7bd14239c596262cb53b665 (diff)
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: 8fcd20c30704 ("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>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions