Re: [PATCH vhost v9 10/12] virtio_ring: correct the expression of the description of virtqueue_resize()
From: "Michael S. Tsirkin" <mst@redhat.com>
Date: 2023-05-18 14:01:09
On Thu, May 18, 2023 at 08:12:50PM +0800, Xuan Zhuo wrote:
On Wed, 17 May 2023 10:22:47 +0800, Xuan Zhuo [off-list ref] wrote:quoted
Modify the "useless" to a more accurate "unused". Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com> Acked-by: Jason Wang <jasowang@redhat.com>Hi Michael, Currently, we have to discuss a few cases regarding dma-premapped. Can you merge the three patches behind this (including this one)? These have nothing to do with dma-premapped. Should I post a new patch set separately? Thanks.
Please do.
quoted
--- drivers/virtio/virtio_ring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index 42730c4ecdc5..c90160d2d280 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c@@ -2734,7 +2734,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 --2.32.0.3.g01195cf9f
_______________________________________________ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization