]> git.baikalelectronics.ru Git - kernel.git/commitdiff
virtio: fix typo in vring_need_event() doc comment
authorStefan Hajnoczi <stefanha@redhat.com>
Fri, 1 May 2015 23:12:29 +0000 (08:42 +0930)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 2 May 2015 03:46:32 +0000 (20:46 -0700)
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>
include/uapi/linux/virtio_ring.h

index a3318f31e8e7fd05f317c595e8c4ce3bc3595fac..915980ac68dfa8cc1dc973b8a7e659fc56383c22 100644 (file)
@@ -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)