2018-07-18 03:48:23

by piaojun

[permalink] [raw]
Subject: [PATCH] net/9p/trans_virtio.c: fix some spell mistakes in comments

Fix spelling mistake in comments of p9_virtio_zc_request().

Signed-off-by: Jun Piao <[email protected]>
---
net/9p/trans_virtio.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/9p/trans_virtio.c b/net/9p/trans_virtio.c
index c9f2717..86077f7 100644
--- a/net/9p/trans_virtio.c
+++ b/net/9p/trans_virtio.c
@@ -384,8 +384,8 @@ static int p9_get_mapped_pages(struct virtio_chan *chan,
* p9_virtio_zc_request - issue a zero copy request
* @client: client instance issuing the request
* @req: request to be issued
- * @uidata: user bffer that should be ued for zero copy read
- * @uodata: user buffer that shoud be user for zero copy write
+ * @uidata: user buffer that should be used for zero copy read
+ * @uodata: user buffer that should be used for zero copy write
* @inlen: read buffer size
* @outlen: write buffer size
* @in_hdr_len: reader header size, This is the size of response protocol data
--


2018-07-18 03:50:36

by Dominique Martinet

[permalink] [raw]
Subject: Re: [PATCH] net/9p/trans_virtio.c: fix some spell mistakes in comments

piaojun wrote on Wed, Jul 18, 2018:
> Fix spelling mistake in comments of p9_virtio_zc_request().
>
> Signed-off-by: Jun Piao <[email protected]>

Thanks, queued it.

> ---
> net/9p/trans_virtio.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/net/9p/trans_virtio.c b/net/9p/trans_virtio.c
> index c9f2717..86077f7 100644
> --- a/net/9p/trans_virtio.c
> +++ b/net/9p/trans_virtio.c
> @@ -384,8 +384,8 @@ static int p9_get_mapped_pages(struct virtio_chan *chan,
> * p9_virtio_zc_request - issue a zero copy request
> * @client: client instance issuing the request
> * @req: request to be issued
> - * @uidata: user bffer that should be ued for zero copy read
> - * @uodata: user buffer that shoud be user for zero copy write
> + * @uidata: user buffer that should be used for zero copy read
> + * @uodata: user buffer that should be used for zero copy write
> * @inlen: read buffer size
> * @outlen: write buffer size
> * @in_hdr_len: reader header size, This is the size of response protocol data

--
Dominique Martinet