Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

virtio: fix typo in vring_need_event() doc comment

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

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Stefan Hajnoczi and committed by
Linus Torvalds
e412d3a3 feda5f93

+1 -1
+1 -1
include/uapi/linux/virtio_ring.h
··· 155 155 } 156 156 157 157 /* The following is used with USED_EVENT_IDX and AVAIL_EVENT_IDX */ 158 - /* Assuming a given event_idx value from the other size, if 158 + /* Assuming a given event_idx value from the other side, if 159 159 * we have just incremented index from old to new_idx, 160 160 * should we trigger an event? */ 161 161 static inline int vring_need_event(__u16 event_idx, __u16 new_idx, __u16 old)