History

virtio: fix typo in vring_need_event() doc comment

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

Stefan Hajnoczi committed 11 years ago

Commit e412d3a1 parent feda5f91 file · +1 −1Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

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