Skip to content
Commit 82c8610a authored by Andrew Scull's avatar Andrew Scull Committed by Tom Rini
Browse files

test: dm: virtio: Test notify before del_vqs



The virtqueue is passed to virtio_notify() so move the virtqueue
deletion to the end of the test when it's no longer needed. This wasn't
causing any problems because the sandbox virtio transport driver doesn't
do anything for notifications, but it could cause problems if things
change and it was a bad example.

Signed-off-by: default avatarAndrew Scull <ascull@google.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 1674b6c4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment