diff options
author | Jason Wang <jasowang@redhat.com> | 2021-10-19 09:01:48 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2021-11-01 10:26:48 +0100 |
commit | ef5c366fea30f64d52bb1c4c1e2959a5e6b66e88 (patch) | |
tree | 9570ae03c348f72593a3dd18491b96fbdc33be5f /drivers/virtio | |
parent | virtio-pci: harden INTX interrupts (diff) | |
download | linux-ef5c366fea30f64d52bb1c4c1e2959a5e6b66e88.tar.xz linux-ef5c366fea30f64d52bb1c4c1e2959a5e6b66e88.zip |
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>
Diffstat (limited to 'drivers/virtio')
-rw-r--r-- | drivers/virtio/virtio_ring.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index 058b18f397cf..6d2614e34470 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -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. */ }; |