diff mbox series

fpga: stratix10-soc: cleanup double word in comment

Message ID 20211214154749.2463147-1-trix@redhat.com (mailing list archive)
State New
Headers show
Series fpga: stratix10-soc: cleanup double word in comment | expand

Commit Message

Tom Rix Dec. 14, 2021, 3:47 p.m. UTC
From: Tom Rix <trix@redhat.com>

There are two that's in the comment, remove one.

Signed-off-by: Tom Rix <trix@redhat.com>
---
 drivers/fpga/stratix10-soc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Russ Weight Dec. 14, 2021, 4:59 p.m. UTC | #1
On 12/14/21 7:47 AM, trix@redhat.com wrote:
> From: Tom Rix <trix@redhat.com>
>
> There are two that's in the comment, remove one.
>
> Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Russ Weight <russell.h.weight@intel.com>

> ---
>  drivers/fpga/stratix10-soc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/fpga/stratix10-soc.c b/drivers/fpga/stratix10-soc.c
> index 357cea58ec98e..862069c95aa3c 100644
> --- a/drivers/fpga/stratix10-soc.c
> +++ b/drivers/fpga/stratix10-soc.c
> @@ -245,7 +245,7 @@ static int s10_send_buf(struct fpga_manager *mgr, const char *buf, size_t count)
>  	int ret;
>  	uint i;
>  
> -	/* get/lock a buffer that that's not being used */
> +	/* get/lock a buffer that is not being used */
>  	for (i = 0; i < NUM_SVC_BUFS; i++)
>  		if (!test_and_set_bit_lock(SVC_BUF_LOCK,
>  					   &priv->svc_bufs[i].lock))
Xu Yilun Dec. 15, 2021, 1:02 a.m. UTC | #2
On Tue, Dec 14, 2021 at 08:59:45AM -0800, Russ Weight wrote:
> 
> 
> On 12/14/21 7:47 AM, trix@redhat.com wrote:
> > From: Tom Rix <trix@redhat.com>
> >
> > There are two that's in the comment, remove one.
> >
> > Signed-off-by: Tom Rix <trix@redhat.com>
> Reviewed-by: Russ Weight <russell.h.weight@intel.com>

Acked-by: Xu Yilun <yilun.xu@intel.com>

Thanks,
Yilun

> 
> > ---
> >  drivers/fpga/stratix10-soc.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/fpga/stratix10-soc.c b/drivers/fpga/stratix10-soc.c
> > index 357cea58ec98e..862069c95aa3c 100644
> > --- a/drivers/fpga/stratix10-soc.c
> > +++ b/drivers/fpga/stratix10-soc.c
> > @@ -245,7 +245,7 @@ static int s10_send_buf(struct fpga_manager *mgr, const char *buf, size_t count)
> >  	int ret;
> >  	uint i;
> >  
> > -	/* get/lock a buffer that that's not being used */
> > +	/* get/lock a buffer that is not being used */
> >  	for (i = 0; i < NUM_SVC_BUFS; i++)
> >  		if (!test_and_set_bit_lock(SVC_BUF_LOCK,
> >  					   &priv->svc_bufs[i].lock))
diff mbox series

Patch

diff --git a/drivers/fpga/stratix10-soc.c b/drivers/fpga/stratix10-soc.c
index 357cea58ec98e..862069c95aa3c 100644
--- a/drivers/fpga/stratix10-soc.c
+++ b/drivers/fpga/stratix10-soc.c
@@ -245,7 +245,7 @@  static int s10_send_buf(struct fpga_manager *mgr, const char *buf, size_t count)
 	int ret;
 	uint i;
 
-	/* get/lock a buffer that that's not being used */
+	/* get/lock a buffer that is not being used */
 	for (i = 0; i < NUM_SVC_BUFS; i++)
 		if (!test_and_set_bit_lock(SVC_BUF_LOCK,
 					   &priv->svc_bufs[i].lock))