projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
080cd7c
)
virtio_ring: fix typos in vring_desc_extra
author
Jason Wang
<jasowang@redhat.com>
Tue, 19 Oct 2021 07:01:48 +0000
(15:01 +0800)
committer
Michael S. Tsirkin
<mst@redhat.com>
Mon, 1 Nov 2021 09:26:48 +0000
(
05:26
-0400)
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>
drivers/virtio/virtio_ring.c
patch
|
blob
|
history
diff --git
a/drivers/virtio/virtio_ring.c
b/drivers/virtio/virtio_ring.c
index 058b18f397cffb25e70cfcadedfb5cbd7afda26c..6d2614e34470f463bb553e7e9e80f7bb0a0cef4a 100644
(file)
--- 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; /*
Buffe
r DMA addr. */
- u32 len; /*
Buffe
r length. */
+ dma_addr_t addr; /*
Descripto
r DMA addr. */
+ u32 len; /*
Descripto
r length. */
u16 flags; /* Descriptor flags. */
u16 next; /* The next desc state in a list. */
};