--- tools/virtio/virtio_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/virtio/virtio_test.c b/tools/virtio/virtio_test.c index 93d81cd64ba0..38aa5316b266 100644 --- a/tools/virtio/virtio_test.c +++ b/tools/virtio/virtio_test.c @@ -222,7 +222,7 @@ static void run_test(struct vdev_info *dev, struct vq_info *vq, &backend); assert(!r); - while (completed > next_reset) + while (completed > next_reset) next_reset += completed; } } while (r == 0); -- 2.18.1