projects/linux·commit e412d3a3

virtio: fix typo in vring_need_event() doc comment

e412d3a3 · Stefan Hajnoczi <[email protected]> · 2015-05-02 08:42:29 +09:30

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

Signed-off-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Rusty Russell <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
e412d3a32badcf17541d7443b033769fdf39b545
Parents
feda5f93

Changes

1 files changed · +1 −1

FileStatusAddDelContent
include/uapi/linux/virtio_ring.hmodified+1−1View file

include/uapi/linux/virtio_ring.h

View file
diff --git a/include/uapi/linux/virtio_ring.h b/include/uapi/linux/virtio_ring.h
index a3318f3..915980a 100644
--- a/include/uapi/linux/virtio_ring.h
+++ b/include/uapi/linux/virtio_ring.h
@@ -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)