Skip to content

Commit 4d09f24

Browse files
fengidrimstsirkin
authored andcommitted
virtio_ring: correct the expression of the description of virtqueue_resize()
Modify the "useless" to a more accurate "unused". Signed-off-by: Xuan Zhuo <[email protected]> Acked-by: Jason Wang <[email protected]> Message-Id: <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
1 parent b319940 commit 4d09f24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/virtio/virtio_ring.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2678,7 +2678,7 @@ EXPORT_SYMBOL_GPL(vring_create_virtqueue_dma);
26782678
* virtqueue_resize - resize the vring of vq
26792679
* @_vq: the struct virtqueue we're talking about.
26802680
* @num: new ring num
2681-
* @recycle: callback for recycle the useless buffer
2681+
* @recycle: callback to recycle unused buffers
26822682
*
26832683
* When it is really necessary to create a new vring, it will set the current vq
26842684
* into the reset state. Then call the passed callback to recycle the buffer

0 commit comments

Comments
 (0)