[PATCH] Drivers: hv: Fix syntax errors in comments

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

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

diff --git a/drivers/hv/hv_kvp.c b/drivers/hv/hv_kvp.c
index c698592b83e4..d35b60c06114 100644
--- a/drivers/hv/hv_kvp.c
+++ b/drivers/hv/hv_kvp.c
@@ -394,7 +394,7 @@ kvp_send_key(struct work_struct *dummy)
 	in_msg = kvp_transaction.kvp_msg;
 
 	/*
-	 * The key/value strings sent from the host are encoded in
+	 * The key/value strings sent from the host are encoded
 	 * in utf16; convert it to utf8 strings.
 	 * The host assures us that the utf16 strings will not exceed
 	 * the max lengths specified. We will however, reserve room
-- 
2.36.1
RE: [PATCH] Drivers: hv: Fix syntax errors in comments
Posted by Michael Kelley (LINUX) 3 years, 10 months ago
From: Xiang wangx <wangxiang@cdjrlc.com> Sent: Sunday, June 5, 2022 1:55 AM
> 
> Delete the redundant word 'in'.
> 
> Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
> ---
>  drivers/hv/hv_kvp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/hv/hv_kvp.c b/drivers/hv/hv_kvp.c
> index c698592b83e4..d35b60c06114 100644
> --- a/drivers/hv/hv_kvp.c
> +++ b/drivers/hv/hv_kvp.c
> @@ -394,7 +394,7 @@ kvp_send_key(struct work_struct *dummy)
>         in_msg = kvp_transaction.kvp_msg;
> 
>         /*
> -        * The key/value strings sent from the host are encoded in
> +        * The key/value strings sent from the host are encoded
>          * in utf16; convert it to utf8 strings.
>          * The host assures us that the utf16 strings will not exceed
>          * the max lengths specified. We will however, reserve room
> --
> 2.36.1

Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Re: [PATCH] Drivers: hv: Fix syntax errors in comments
Posted by Wei Liu 3 years, 10 months ago
On Tue, Jun 07, 2022 at 07:33:51PM +0000, Michael Kelley (LINUX) wrote:
> From: Xiang wangx <wangxiang@cdjrlc.com> Sent: Sunday, June 5, 2022 1:55 AM
> > 
> > Delete the redundant word 'in'.
> > 
> > Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
> > ---
> >  drivers/hv/hv_kvp.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/drivers/hv/hv_kvp.c b/drivers/hv/hv_kvp.c
> > index c698592b83e4..d35b60c06114 100644
> > --- a/drivers/hv/hv_kvp.c
> > +++ b/drivers/hv/hv_kvp.c
> > @@ -394,7 +394,7 @@ kvp_send_key(struct work_struct *dummy)
> >         in_msg = kvp_transaction.kvp_msg;
> > 
> >         /*
> > -        * The key/value strings sent from the host are encoded in
> > +        * The key/value strings sent from the host are encoded
> >          * in utf16; convert it to utf8 strings.
> >          * The host assures us that the utf16 strings will not exceed
> >          * the max lengths specified. We will however, reserve room
> > --
> > 2.36.1
> 
> Reviewed-by: Michael Kelley <mikelley@microsoft.com>
> 

Applied to hyperv-fixes. Thanks.