2022-07-18 14:18:20

by Jason Wang

[permalink] [raw]
Subject: [PATCH] IB: Fix comment typo

The double `are' is duplicated in line 156, remove one.

Signed-off-by: Jason Wang <[email protected]>
---
drivers/infiniband/hw/qib/qib_file_ops.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/infiniband/hw/qib/qib_file_ops.c b/drivers/infiniband/hw/qib/qib_file_ops.c
index f61e07f684cf..3937144b2ae5 100644
--- a/drivers/infiniband/hw/qib/qib_file_ops.c
+++ b/drivers/infiniband/hw/qib/qib_file_ops.c
@@ -153,7 +153,7 @@ static int qib_get_base_info(struct file *fp, void __user *ubase,
kinfo->spi_tidcnt += dd->rcvtidcnt % subctxt_cnt;
/*
* for this use, may be cfgctxts summed over all chips that
- * are are configured and present
+ * are configured and present
*/
kinfo->spi_nctxts = dd->cfgctxts;
/* unit (chip/board) our context is on */
--
2.35.1


2022-07-19 08:16:00

by Leon Romanovsky

[permalink] [raw]
Subject: Re: [PATCH] IB: Fix comment typo

On Fri, Jul 15, 2022 at 01:40:07PM +0800, Jason Wang wrote:
> The double `are' is duplicated in line 156, remove one.
>
> Signed-off-by: Jason Wang <[email protected]>
> ---
> drivers/infiniband/hw/qib/qib_file_ops.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

Thanks, applied.