aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2015-05-02 08:42:29 +0930
committerLinus Torvalds <torvalds@linux-foundation.org>2015-05-01 20:46:32 -0700
commite412d3a32badcf17541d7443b033769fdf39b545 (patch)
tree748633491a19a4464cb52b2337e69a10d21ead39 /include
parentfeda5f939eafa4af94dfb547847806e0f2df73b8 (diff)
downloadlinux-stericsson-e412d3a32badcf17541d7443b033769fdf39b545.tar.gz
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>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/virtio_ring.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/virtio_ring.h b/include/uapi/linux/virtio_ring.h
index a3318f31e8e7..915980ac68df 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)