linux-fpga.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fpga: stratix10-soc: cleanup double word in comment
@ 2021-12-14 15:47 trix
  2021-12-14 16:59 ` Russ Weight
  0 siblings, 1 reply; 3+ messages in thread
From: trix @ 2021-12-14 15:47 UTC (permalink / raw)
  To: mdf, hao.wu, yilun.xu; +Cc: linux-fpga, linux-kernel, Tom Rix

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(-)

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))
-- 
2.26.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] fpga: stratix10-soc: cleanup double word in comment
  2021-12-14 15:47 [PATCH] fpga: stratix10-soc: cleanup double word in comment trix
@ 2021-12-14 16:59 ` Russ Weight
  2021-12-15  1:02   ` Xu Yilun
  0 siblings, 1 reply; 3+ messages in thread
From: Russ Weight @ 2021-12-14 16:59 UTC (permalink / raw)
  To: trix, mdf, hao.wu, yilun.xu; +Cc: linux-fpga, linux-kernel



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))


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] fpga: stratix10-soc: cleanup double word in comment
  2021-12-14 16:59 ` Russ Weight
@ 2021-12-15  1:02   ` Xu Yilun
  0 siblings, 0 replies; 3+ messages in thread
From: Xu Yilun @ 2021-12-15  1:02 UTC (permalink / raw)
  To: Russ Weight; +Cc: trix, mdf, hao.wu, linux-fpga, linux-kernel

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))

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-12-15  1:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-14 15:47 [PATCH] fpga: stratix10-soc: cleanup double word in comment trix
2021-12-14 16:59 ` Russ Weight
2021-12-15  1:02   ` Xu Yilun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).