OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

virtio message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [PATCH] virtio-ring: comment fixup


virtio_ring.h included with spec has this text:
/* Support for avail_idx and used_idx fields */
it should really refer to avail_event and used_event.

VIRTIO-135.

Reported-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 virtio-ring.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/virtio-ring.h b/virtio-ring.h
index aa01d92..5a1e87d 100644
--- a/virtio-ring.h
+++ b/virtio-ring.h
@@ -53,7 +53,7 @@
 /* Support for indirect descriptors */
 #define VIRTIO_F_INDIRECT_DESC    28
 
-/* Support for avail_idx and used_idx fields */
+/* Support for avail_event and used_event fields */
 #define VIRTIO_F_EVENT_IDX        29
 
 /* Arbitrary descriptor layouts. */
-- 
MST


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]