Re: [PATCH] fpga: stratix10-soc: cleanup double word in comment

From: Xu Yilun
Date: Tue Dec 14 2021 - 20:10:11 EST


On Tue, Dec 14, 2021 at 08:59:45AM -0800, Russ Weight wrote:
>
>
> On 12/14/21 7:47 AM, trix@xxxxxxxxxx wrote:
> > From: Tom Rix <trix@xxxxxxxxxx>
> >
> > There are two that's in the comment, remove one.
> >
> > Signed-off-by: Tom Rix <trix@xxxxxxxxxx>
> Reviewed-by: Russ Weight <russell.h.weight@xxxxxxxxx>

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

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