From: Xuan Zhuo Date: Thu, 10 Aug 2023 12:30:52 +0000 (+0800) Subject: virtio_ring: correct the expression of the description of virtqueue_resize() X-Git-Tag: v6.6.7~1987^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4d09f24080dd301083a70d5a2c25fb59b149fec1;p=platform%2Fkernel%2Flinux-starfive.git virtio_ring: correct the expression of the description of virtqueue_resize() Modify the "useless" to a more accurate "unused". Signed-off-by: Xuan Zhuo Acked-by: Jason Wang Message-Id: <20230810123057.43407-8-xuanzhuo@linux.alibaba.com> Signed-off-by: Michael S. Tsirkin --- diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index 7973814..fd9ae02 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -2678,7 +2678,7 @@ EXPORT_SYMBOL_GPL(vring_create_virtqueue_dma); * virtqueue_resize - resize the vring of vq * @_vq: the struct virtqueue we're talking about. * @num: new ring num - * @recycle: callback for recycle the useless buffer + * @recycle: callback to recycle unused buffers * * When it is really necessary to create a new vring, it will set the current vq * into the reset state. Then call the passed callback to recycle the buffer