* [PATCH] RDMA/core: Correct typos in comments
@ 2022-06-22 17:08 Jiang Jian
2022-06-24 19:58 ` Jason Gunthorpe
0 siblings, 1 reply; 2+ messages in thread
From: Jiang Jian @ 2022-06-22 17:08 UTC (permalink / raw)
To: jgg, leon; +Cc: linux-rdma, linux-kernel, Jiang Jian
there is an unexpected word 'is' in the comments that need to be dropped
file - drivers/infiniband/core/rdma_core.c
line - 71
/* work and stuff was only created when the device is is hot-state */
changed t0:
/* work and stuff was only created when the device is hot-state */
Signed-off-by: Jiang Jian <jiangjian@cdjrlc.com>
---
drivers/infiniband/core/rdma_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/infiniband/core/rdma_core.c b/drivers/infiniband/core/rdma_core.c
index 94d83b665a2f..29b1ab1d5f93 100644
--- a/drivers/infiniband/core/rdma_core.c
+++ b/drivers/infiniband/core/rdma_core.c
@@ -68,7 +68,7 @@ static int uverbs_try_lock_object(struct ib_uobject *uobj,
* In exclusive access mode, we check that the counter is zero (nobody
* claimed this object) and we set it to -1. Releasing a shared access
* lock is done simply by decreasing the counter. As for exclusive
- * access locks, since only a single one of them is is allowed
+ * access locks, since only a single one of them is allowed
* concurrently, setting the counter to zero is enough for releasing
* this lock.
*/
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] RDMA/core: Correct typos in comments
2022-06-22 17:08 [PATCH] RDMA/core: Correct typos in comments Jiang Jian
@ 2022-06-24 19:58 ` Jason Gunthorpe
0 siblings, 0 replies; 2+ messages in thread
From: Jason Gunthorpe @ 2022-06-24 19:58 UTC (permalink / raw)
To: Jiang Jian; +Cc: leon, linux-rdma, linux-kernel
On Thu, Jun 23, 2022 at 01:08:53AM +0800, Jiang Jian wrote:
> there is an unexpected word 'is' in the comments that need to be dropped
>
> file - drivers/infiniband/core/rdma_core.c
> line - 71
>
> /* work and stuff was only created when the device is is hot-state */
>
> changed t0:
>
> /* work and stuff was only created when the device is hot-state */
>
> Signed-off-by: Jiang Jian <jiangjian@cdjrlc.com>
> ---
> drivers/infiniband/core/rdma_core.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
I squashed this patch and the next one about 'for' into one patch and
applied to for-next
Thanks,
Jason
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-06-24 19:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-22 17:08 [PATCH] RDMA/core: Correct typos in comments Jiang Jian
2022-06-24 19:58 ` Jason Gunthorpe
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).