2022-07-21 09:16:06

by Slark Xiao

[permalink] [raw]
Subject: [PATCH] IB/core: Fix typo 'the the' in comment

Replace 'the the' with 'the' in the comment.

Signed-off-by: Slark Xiao <[email protected]>
---
drivers/infiniband/core/roce_gid_mgmt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/infiniband/core/roce_gid_mgmt.c b/drivers/infiniband/core/roce_gid_mgmt.c
index 68197e576433..e958c43dd28f 100644
--- a/drivers/infiniband/core/roce_gid_mgmt.c
+++ b/drivers/infiniband/core/roce_gid_mgmt.c
@@ -250,7 +250,7 @@ static bool upper_device_filter(struct ib_device *ib_dev, u32 port,

/**
* is_upper_ndev_bond_master_filter - Check if a given netdevice
- * is bond master device of netdevice of the the RDMA device of port.
+ * is bond master device of netdevice of the RDMA device of port.
* @ib_dev: IB device to check
* @port: Port to consider for adding default GID
* @rdma_ndev: Pointer to rdma netdevice
--
2.25.1


2022-07-22 15:24:11

by Jason Gunthorpe

[permalink] [raw]
Subject: Re: [PATCH] IB/core: Fix typo 'the the' in comment

On Thu, Jul 21, 2022 at 04:52:32PM +0800, Slark Xiao wrote:
> Replace 'the the' with 'the' in the comment.
>
> Signed-off-by: Slark Xiao <[email protected]>
> ---
> drivers/infiniband/core/roce_gid_mgmt.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

I squashed these three patches together, thanks

Jason

2022-07-25 01:28:10

by Slark Xiao

[permalink] [raw]
Subject: Re:Re: [PATCH] IB/core: Fix typo 'the the' in comment

















At 2022-07-22 23:04:05, "Jason Gunthorpe" <[email protected]> wrote:
>On Thu, Jul 21, 2022 at 04:52:32PM +0800, Slark Xiao wrote:
>> Replace 'the the' with 'the' in the comment.
>>
>> Signed-off-by: Slark Xiao <[email protected]>
>> ---
>> drivers/infiniband/core/roce_gid_mgmt.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>I squashed these three patches together, thanks
>
>Jason
Thanks for that.
I thougt they belongs to different subsystem so I separate it from each other.
Anyway, thanks for your help :)