← Prev in month ← Prev in thread
Next in thread → Next in month →

[PATCH] virtio-ring: comment fixup

From
Michael S. Tsirkin <>
Date
2015-03-15T14:33:16+00:00
ID
Thread
[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 <>
Signed-off-by: Michael S. Tsirkin <>
---
 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
← Prev in month ← Prev in thread
Next in thread → Next in month →