Skip to contentSkip to conversation

virtio: fix typo in vring_need_event() doc comment

PATCH Applied Stefan Hajnoczi 3 participants 4 messages Apr 15, 2015 – Apr 20, 2015 virtio core

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 virtio: fix typo in vring_need_event() doc comment

Here the "other side" refers to the guest or host.

---
 include/uapi/linux/virtio_ring.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/uapi/linux/virtio_ring.h +1 -1
index a3318f3..915980a 100644
@@ -155,7 +155,7 @@ static inline unsigned vring_size(unsigned int num, unsigned long align)
 }
 
 /* The following is used with USED_EVENT_IDX and AVAIL_EVENT_IDX */
-/* Assuming a given event_idx value from the other size, if
+/* Assuming a given event_idx value from the other side, if
  * we have just incremented index from old to new_idx,
  * should we trigger an event? */
 static inline int vring_need_event(__u16 event_idx, __u16 new_idx, __u16 old)
Signature · 1 line
2.1.0
#1 lore raw
Quoted 3 lines · Stefan Hajnoczi

Here the "other side" refers to the guest or host.

Applied.

Thanks!
Rusty.

Quoted 19 lines
---
 include/uapi/linux/virtio_ring.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/uapi/linux/virtio_ring.h +1 -1
index a3318f3..915980a 100644
@@ -155,7 +155,7 @@ static inline unsigned vring_size(unsigned int num, unsigned long align)
 }
 
 /* The following is used with USED_EVENT_IDX and AVAIL_EVENT_IDX */
-/* Assuming a given event_idx value from the other size, if
+/* Assuming a given event_idx value from the other side, if
  * we have just incremented index from old to new_idx,
  * should we trigger an event? */
 static inline int vring_need_event(__u16 event_idx, __u16 new_idx, __u16 old)
Signature · 1 line
2.1.0
#2 lore raw
Quoted 9 lines · Rusty Russell
Quoted 3 lines · Stefan Hajnoczi

Here the "other side" refers to the guest or host.

Applied.

Thanks!
Rusty.

Just to make sure, are you applying this for 4.1?

Quoted 19 lines
Quoted 19 lines
---
 include/uapi/linux/virtio_ring.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/uapi/linux/virtio_ring.h +1 -1
index a3318f3..915980a 100644
@@ -155,7 +155,7 @@ static inline unsigned vring_size(unsigned int num, unsigned long align)
 }
 
 /* The following is used with USED_EVENT_IDX and AVAIL_EVENT_IDX */
-/* Assuming a given event_idx value from the other size, if
+/* Assuming a given event_idx value from the other side, if
  * we have just incremented index from old to new_idx,
  * should we trigger an event? */
 static inline int vring_need_event(__u16 event_idx, __u16 new_idx, __u16 old)
Signature · 1 line
2.1.0
#3 lore raw
Quoted 4 lines · Michael S. Tsirkin
Quoted 3 lines · Rusty Russell
Quoted 2 lines · Stefan Hajnoczi

Here the "other side" refers to the guest or host.

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

Applied.

Thanks!
Rusty.

Just to make sure, are you applying this for 4.1?

No, I am going to hand you my pending queue.

Cheers,
Rusty.