linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] IB/core: fix typo in comment
@ 2022-05-21 11:11 Julia Lawall
  2022-05-24 14:31 ` Jason Gunthorpe
  0 siblings, 1 reply; 2+ messages in thread
From: Julia Lawall @ 2022-05-21 11:11 UTC (permalink / raw)
  To: Jason Gunthorpe
  Cc: kernel-janitors, Leon Romanovsky, linux-rdma, linux-kernel

Spelling mistake (triple letters) in comment.
Detected with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>

---
 drivers/infiniband/core/umem_odp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/infiniband/core/umem_odp.c b/drivers/infiniband/core/umem_odp.c
index aead24c1a682..186ed8859920 100644
--- a/drivers/infiniband/core/umem_odp.c
+++ b/drivers/infiniband/core/umem_odp.c
@@ -455,7 +455,7 @@ int ib_umem_odp_map_dma_and_lock(struct ib_umem_odp *umem_odp, u64 user_virt,
 			break;
 		}
 	}
-	/* upon sucesss lock should stay on hold for the callee */
+	/* upon success lock should stay on hold for the callee */
 	if (!ret)
 		ret = dma_index - start_idx;
 	else


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] IB/core: fix typo in comment
  2022-05-21 11:11 [PATCH] IB/core: fix typo in comment Julia Lawall
@ 2022-05-24 14:31 ` Jason Gunthorpe
  0 siblings, 0 replies; 2+ messages in thread
From: Jason Gunthorpe @ 2022-05-24 14:31 UTC (permalink / raw)
  To: Julia Lawall; +Cc: kernel-janitors, Leon Romanovsky, linux-rdma, linux-kernel

On Sat, May 21, 2022 at 01:11:37PM +0200, Julia Lawall wrote:
> Spelling mistake (triple letters) in comment.
> Detected with the help of Coccinelle.
> 
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
> ---
>  drivers/infiniband/core/umem_odp.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to for-next, thanks

Jason

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-24 14:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-21 11:11 [PATCH] IB/core: fix typo in comment Julia Lawall
2022-05-24 14:31 ` 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).