mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 22:26:55 +00:00
virtio_ring: fix typos in vring_desc_extra
We're actually tracking descriptor address and length instead of the buffer. Signed-off-by: Jason Wang <jasowang@redhat.com> Link: https://lore.kernel.org/r/20211019070152.8236-7-jasowang@redhat.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
080cd7c3ac
commit
ef5c366fea
1 changed files with 2 additions and 2 deletions
|
@ -79,8 +79,8 @@ struct vring_desc_state_packed {
|
|||
};
|
||||
|
||||
struct vring_desc_extra {
|
||||
dma_addr_t addr; /* Buffer DMA addr. */
|
||||
u32 len; /* Buffer length. */
|
||||
dma_addr_t addr; /* Descriptor DMA addr. */
|
||||
u32 len; /* Descriptor length. */
|
||||
u16 flags; /* Descriptor flags. */
|
||||
u16 next; /* The next desc state in a list. */
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue