Xuan Zhuo
2023-May-17 02:22 UTC
[PATCH vhost v9 10/12] virtio_ring: correct the expression of the description of virtqueue_resize()
Modify the "useless" to a more accurate "unused". Signed-off-by: Xuan Zhuo <xuanzhuo at linux.alibaba.com> Acked-by: Jason Wang <jasowang at redhat.com> --- 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
Xuan Zhuo
2023-May-18 12:12 UTC
[PATCH vhost v9 10/12] virtio_ring: correct the expression of the description of virtqueue_resize()
On Wed, 17 May 2023 10:22:47 +0800, Xuan Zhuo <xuanzhuo at linux.alibaba.com> wrote:> Modify the "useless" to a more accurate "unused". > > Signed-off-by: Xuan Zhuo <xuanzhuo at linux.alibaba.com> > Acked-by: Jason Wang <jasowang at 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.> --- > 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 >