Corrected several typos in virtio_ring.c for improved clarity and consistency. Fixes include: - "dind't" -> "didn't" - "use" -> "uses" in DMA mapping context - "can been used" -> "can be used" - "buf size for sync" -> "buffer size to synchronize"
No functional changes. Signed-off-by: Alok Tiwari <alok.a.tiw...@oracle.com> --- drivers/virtio/virtio_ring.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index b784aab66867..e1456ec0db7c 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -606,7 +606,7 @@ static inline int virtqueue_add_split(struct virtqueue *_vq, prev = i; /* Note that we trust indirect descriptor - * table since it use stream DMA mapping. + * table since it uses stream DMA mapping. */ i = virtqueue_add_desc_split(_vq, desc, extra, i, addr, len, VRING_DESC_F_NEXT, @@ -623,7 +623,7 @@ static inline int virtqueue_add_split(struct virtqueue *_vq, prev = i; /* Note that we trust indirect descriptor - * table since it use stream DMA mapping. + * table since it uses stream DMA mapping. */ i = virtqueue_add_desc_split(_vq, desc, extra, i, addr, len, VRING_DESC_F_NEXT | @@ -2438,7 +2438,7 @@ EXPORT_SYMBOL_GPL(virtqueue_add_inbuf_premapped); * virtqueue_dma_dev - get the dma dev * @_vq: the struct virtqueue we're talking about. * - * Returns the dma dev. That can been used for dma api. + * Returns the dma dev. That can be used for dma api. */ struct device *virtqueue_dma_dev(struct virtqueue *_vq) { @@ -3225,7 +3225,7 @@ EXPORT_SYMBOL_GPL(virtqueue_dma_need_sync); * @_vq: the struct virtqueue we're talking about. * @addr: DMA address * @offset: DMA address offset - * @size: buf size for sync + * @size: buffer size to synchronize * @dir: DMA direction * * Before calling this function, use virtqueue_dma_need_sync() to confirm that @@ -3252,7 +3252,7 @@ EXPORT_SYMBOL_GPL(virtqueue_dma_sync_single_range_for_cpu); * @_vq: the struct virtqueue we're talking about. * @addr: DMA address * @offset: DMA address offset - * @size: buf size for sync + * @size: buffer size to synchronize * @dir: DMA direction * * Before calling this function, use virtqueue_dma_need_sync() to confirm that -- 2.47.1