summaryrefslogtreecommitdiff
path: root/arch/sandbox/lib/sections.c
diff options
context:
space:
mode:
authorAndrew Scull <ascull@google.com>2022-05-16 10:41:35 +0000
committerTom Rini <trini@konsulko.com>2022-06-08 09:24:04 -0400
commit82c8610a44c6d4d38b90246f6893cb8e7b911e0c (patch)
treeb7744f9d20086bc1673ef246339acb6d5398bd86 /arch/sandbox/lib/sections.c
parent1674b6c4d820a4139c406d673a3319f785503a5d (diff)
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: Andrew Scull <ascull@google.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox/lib/sections.c')
0 files changed, 0 insertions, 0 deletions