Skip to contentSkip to conversation

RDMA/core: Correct misspellings of two words in comments

PATCH Applied Weihang Li 3 participants 3 messages Mar 19, 2021 – Mar 26, 2021 InfiniBand

lore
Share & tools
lore

Weihang Li

author
#0 lore raw

PATCH 1/1 RDMA/core: Correct misspellings of two words in comments

From: Yangyang Li <[email protected]>

Correct the following spelling errors:
1. shold -> should
2. uncontext -> ucontext

---
 drivers/infiniband/core/rdma_core.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/infiniband/core/rdma_core.c +2 -2
index 75eafd9..94d83b6 100644
@@ -112,7 +112,7 @@ static void assert_uverbs_usecnt(struct ib_uobject *uobj,
  * however the type's allocat_commit function cannot have been called and the
  * uobject cannot be on the uobjects_lists
  *
- * For RDMA_REMOVE_DESTROY the caller shold be holding a kref (eg via
+ * For RDMA_REMOVE_DESTROY the caller should be holding a kref (eg via
  * rdma_lookup_get_uobject) and the object is left in a state where the caller
  * needs to call rdma_lookup_put_uobject.
  *
@@ -916,7 +916,7 @@ static int __uverbs_cleanup_ufile(struct ib_uverbs_file *ufile,
 }
 
 /*
- * Destroy the uncontext and every uobject associated with it.
+ * Destroy the ucontext and every uobject associated with it.
  *
  * This is internally locked and can be called in parallel from multiple
  * contexts.
Signature · 1 line
2.8.1
maintainer Applied
#2 lore raw
In reply to Weihang Li
Quoted 6 lines · Weihang Li

From: Yangyang Li <[email protected]>

Correct the following spelling errors:
1. shold -> should
2. uncontext -> ucontext

Quoted 6 lines
---
 drivers/infiniband/core/rdma_core.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Applied to for-next, thanks

Jason