Skip to content

Commit

Permalink
virtio: fix typo in vring_need_event() doc comment
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stefan Hajnoczi authored and Linus Torvalds committed May 2, 2015
1 parent feda5f9 commit e412d3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/uapi/linux/virtio_ring.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e412d3a

Please sign in to comment.