[PATCH] vdpa/mlx5: Fix syntax errors in comments

Xiang wangx posted 1 patch 3 years, 10 months ago
drivers/vdpa/mlx5/net/mlx5_vnet.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] vdpa/mlx5: Fix syntax errors in comments
Posted by Xiang wangx 3 years, 10 months ago
Delete the redundant word 'is'.

Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
---
 drivers/vdpa/mlx5/net/mlx5_vnet.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/vdpa/mlx5/net/mlx5_vnet.c b/drivers/vdpa/mlx5/net/mlx5_vnet.c
index dcca782c698e..3569c782c8a0 100644
--- a/drivers/vdpa/mlx5/net/mlx5_vnet.c
+++ b/drivers/vdpa/mlx5/net/mlx5_vnet.c
@@ -105,7 +105,7 @@ struct mlx5_vdpa_virtqueue {
 
 	/* Resources for implementing the notification channel from the device
 	 * to the driver. fwqp is the firmware end of an RC connection; the
-	 * other end is vqqp used by the driver. cq is is where completions are
+	 * other end is vqqp used by the driver. cq is where completions are
 	 * reported.
 	 */
 	struct mlx5_vdpa_cq cq;
-- 
2.36.1
Re: [PATCH] vdpa/mlx5: Fix syntax errors in comments
Posted by Jason Wang 3 years, 10 months ago
On Sat, Jun 4, 2022 at 10:40 PM Xiang wangx <wangxiang@cdjrlc.com> wrote:
>
> Delete the redundant word 'is'.
>
> Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>

Acked-by: Jason Wang <jasowang@redhat.com>

> ---
>  drivers/vdpa/mlx5/net/mlx5_vnet.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/vdpa/mlx5/net/mlx5_vnet.c b/drivers/vdpa/mlx5/net/mlx5_vnet.c
> index dcca782c698e..3569c782c8a0 100644
> --- a/drivers/vdpa/mlx5/net/mlx5_vnet.c
> +++ b/drivers/vdpa/mlx5/net/mlx5_vnet.c
> @@ -105,7 +105,7 @@ struct mlx5_vdpa_virtqueue {
>
>         /* Resources for implementing the notification channel from the device
>          * to the driver. fwqp is the firmware end of an RC connection; the
> -        * other end is vqqp used by the driver. cq is is where completions are
> +        * other end is vqqp used by the driver. cq is where completions are
>          * reported.
>          */
>         struct mlx5_vdpa_cq cq;
> --
> 2.36.1
>