aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorEli Cohen <[email protected]>2022-08-11 16:40:10 +0300
committerMichael S. Tsirkin <[email protected]>2022-08-11 10:00:36 -0400
commit93e530d2a1c4c0fcce45e01ae6c5c6287a08d3e3 (patch)
tree379db2156a85d2bc57500fca8e5ed6260d7b0c23 /lib/mpi/mpi-cmp.c
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 <[email protected]> Signed-off-by: Eli Cohen <[email protected]> Message-Id: <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions