RDMA/core: Fix repeated words in comments
PATCH 1/1 RDMA/core: Fix repeated words in comments
Corrected the repeated words in the documentation of rdma_replace_ah_attr() and ib_resolve_unicast_gid_dmac() functions.
Signed-off-by Rohit Chavan <[email protected]>
--- drivers/infiniband/core/verbs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/infiniband/core/verbs.c +2 -2
@@ -366,7 +366,7 @@ void rdma_copy_ah_attr(struct rdma_ah_attr *dest,EXPORT_SYMBOL (rdma_copy_ah_attr);/** -* rdma_replace_ah_attr - Replace valid ah_attr with new new one. +* rdma_replace_ah_attr - Replace valid ah_attr with new one. * @old: Pointer to existing ah_attr which needs to be replaced. * old is assumed to be valid or zero'd * @new: Pointer to the new ah_attr.
@@ -744,7 +744,7 @@ EXPORT_SYMBOL(ib_get_gids_from_rdma_hdr);/* Resolve destination mac address and hop limit for unicast destination * GID entry, considering the source GID entry as well. -* ah_attribute must have have valid port_num, sgid_index. +* ah_attribute must have valid port_num, sgid_index. */ static int ib_resolve_unicast_gid_dmac (struct ib_device *device,struct rdma_ah_attr *ah_attr)
Signature · 1 line
2.30.2
Leon Romanovsky
AppliedQuoted 5 lines · Rohit Chavan
Corrected the repeated words in the documentation of
rdma_replace_ah_attr()andib_resolve_unicast_gid_dmac()functions.
Applied, thanks!
[1/1] RDMA/core: Fix repeated words in comments
https://git.kernel.org/rdma/rdma/c/e57b0eef668497
Best regards,
Signature · 1 line
Leon Romanovsky <[email protected]>