[PATCH] infiniband/core: fix repeated words in comments

wangjianli posted 1 patch 3 years, 5 months ago
drivers/infiniband/core/cache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] infiniband/core: fix repeated words in comments
Posted by wangjianli 3 years, 5 months ago
Delete the redundant word 'the'.

Signed-off-by: wangjianli <wangjianli@cdjrlc.com>
---
 drivers/infiniband/core/cache.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/infiniband/core/cache.c b/drivers/infiniband/core/cache.c
index 4084d05a4510..2e91d8879326 100644
--- a/drivers/infiniband/core/cache.c
+++ b/drivers/infiniband/core/cache.c
@@ -1422,7 +1422,7 @@ int rdma_read_gid_l2_fields(const struct ib_gid_attr *attr,
 			*vlan_id = vlan_dev_vlan_id(ndev);
 		} else {
 			/* If the netdev is upper device and if it's lower
-			 * device is vlan device, consider vlan id of the
+			 * device is vlan device, consider vlan id of
 			 * the lower vlan device for this gid entry.
 			 */
 			netdev_walk_all_lower_dev_rcu(attr->ndev,
-- 
2.36.1
Re: [PATCH] infiniband/core: fix repeated words in comments
Posted by Leon Romanovsky 3 years, 5 months ago
On Sat, 22 Oct 2022 14:00:30 +0800, wangjianli wrote:
> Delete the redundant word 'the'.
> 
> 

Applied, thanks!

[1/1] infiniband/core: fix repeated words in comments
      https://git.kernel.org/rdma/rdma/c/c4bb733234b0ff

Best regards,
-- 
Leon Romanovsky <leon@kernel.org>