lkml.org 
[lkml]   [2021]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] fpga: stratix10-soc: cleanup double word in comment
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))

\
 
 \ /
  Last update: 2021-12-15 02:10    [W:1.300 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site