]> git.baikalelectronics.ru Git - uboot.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)
commit5abe6ea83024f59e02112e0c43a577caeaaf64b2
tree2759deecad7add2898f8a0947274a74830441b68
parent68fe43de63e00d4023f37557440be4fa3f3258f3
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