[PATCH 07/11] test: dm: virtio: Test notify before del_vqs

Simon Glass sjg at chromium.org
Mon Apr 11 20:35:53 CEST 2022


On Thu, 31 Mar 2022 at 04:10, Andrew Scull <ascull at google.com> wrote:
>
> 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: Andrew Scull <ascull at google.com>
> ---
>  test/dm/virtio.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list