aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorEli Cohen <[email protected]>2022-01-05 11:46:41 +0000
committerMichael S. Tsirkin <[email protected]>2022-01-14 23:50:54 +0000
commit37e07e705888e4c3502f204e9c6785c9c2d6d86a (patch)
tree9c59a89cb41993e7fe57bdc3aa461fdb811cfd50 /lib/test_overflow.c
parentvdpa: Add support for returning device configuration information (diff)
downloadkernel-37e07e705888e4c3502f204e9c6785c9c2d6d86a.tar.gz
kernel-37e07e705888e4c3502f204e9c6785c9c2d6d86a.zip
vdpa/mlx5: Restore cur_num_vqs in case of failure in change_num_qps()
Restore ndev->cur_num_vqs to the original value in case change_num_qps() fails. Fixes: 52893733f2c5 ("vdpa/mlx5: Add multiqueue support") Reviewed-by: Si-Wei Liu<[email protected]> Acked-by: Jason Wang <[email protected]> Signed-off-by: Eli Cohen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions