]> git.dujemihanovic.xyz Git - u-boot.git/commit
virtio_ring: Add helper to attach vring descriptor
authorAndrew Scull <ascull@google.com>
Mon, 16 May 2022 10:41:30 +0000 (10:41 +0000)
committerTom Rini <trini@konsulko.com>
Wed, 8 Jun 2022 13:24:03 +0000 (09:24 -0400)
commitb0952977c98affb9054aa5ba6a79291a293c8824
tree2759deecad7add2898f8a0947274a74830441b68
parent68f8bf21c72515adcdd41ac6f8dbebb29259aeb7
virtio_ring: Add helper to attach vring descriptor

Move the logic for attaching a descriptor to its own function.

Signed-off-by: Andrew Scull <ascull@google.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/virtio/virtio_ring.c