[PATCH] IB: Fix comment typo

Jason Wang posted 1 patch 3 years, 9 months ago
drivers/infiniband/hw/qib/qib_file_ops.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] IB: Fix comment typo
Posted by Jason Wang 3 years, 9 months ago
The double `are' is duplicated in line 156, remove one.

Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
---
 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
Re: [PATCH] IB: Fix comment typo
Posted by Leon Romanovsky 3 years, 9 months ago
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 <wangborong@cdjrlc.com>
> ---
>  drivers/infiniband/hw/qib/qib_file_ops.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Thanks, applied.