* [PATCH] net/mptcp: fix repeated words in comments
@ 2022-10-22 7:05 wangjianli
2022-10-23 13:47 ` Bagas Sanjaya
0 siblings, 1 reply; 3+ messages in thread
From: wangjianli @ 2022-10-22 7:05 UTC (permalink / raw)
To: mathew.j.martineau, matthieu.baerts, davem, edumazet, kuba,
pabeni
Cc: netdev, mptcp, linux-kernel, wangjianli
Delete the redundant word 'the'.
Signed-off-by: wangjianli <wangjianli@cdjrlc.com>
---
net/mptcp/token.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/mptcp/token.c b/net/mptcp/token.c
index f52ee7b26aed..b817c2564300 100644
--- a/net/mptcp/token.c
+++ b/net/mptcp/token.c
@@ -287,7 +287,7 @@ EXPORT_SYMBOL_GPL(mptcp_token_get_sock);
* This function returns the first mptcp connection structure found inside the
* token container starting from the specified position, or NULL.
*
- * On successful iteration, the iterator is move to the next position and the
+ * On successful iteration, the iterator is move to the next position and
* the acquires a reference to the returned socket.
*/
struct mptcp_sock *mptcp_token_iter_next(const struct net *net, long *s_slot,
--
2.36.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] net/mptcp: fix repeated words in comments
2022-10-22 7:05 [PATCH] net/mptcp: fix repeated words in comments wangjianli
@ 2022-10-23 13:47 ` Bagas Sanjaya
2022-10-24 22:04 ` Mat Martineau
0 siblings, 1 reply; 3+ messages in thread
From: Bagas Sanjaya @ 2022-10-23 13:47 UTC (permalink / raw)
To: wangjianli
Cc: mathew.j.martineau, matthieu.baerts, davem, edumazet, kuba,
pabeni, netdev, mptcp, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1616 bytes --]
On Sat, Oct 22, 2022 at 03:05:27PM +0800, wangjianli wrote:
> Delete the redundant word 'the'.
>
> Signed-off-by: wangjianli <wangjianli@cdjrlc.com>
> ---
> net/mptcp/token.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/net/mptcp/token.c b/net/mptcp/token.c
> index f52ee7b26aed..b817c2564300 100644
> --- a/net/mptcp/token.c
> +++ b/net/mptcp/token.c
> @@ -287,7 +287,7 @@ EXPORT_SYMBOL_GPL(mptcp_token_get_sock);
> * This function returns the first mptcp connection structure found inside the
> * token container starting from the specified position, or NULL.
> *
> - * On successful iteration, the iterator is move to the next position and the
> + * On successful iteration, the iterator is move to the next position and
> * the acquires a reference to the returned socket.
> */
> struct mptcp_sock *mptcp_token_iter_next(const struct net *net, long *s_slot,
NAK!
Instead, slightly reword the comment above as "On successful iteration,
the iterator moves to the next position and acquires a reference to the
returned socket.".
Also, you and other @cdjrlc.com developers ignore reviews that request
changes to your patches. If you want to participate in kernel
development community, please don't just sending random patches without
any sort of reply.
I have pointed out this behavior either as part of my review or as reply
to reviews from other developers. I may write this as final warning before
I just say NAK without further ado to your future patches.
Thanks.
--
An old man doll... just what I always wanted! - Clara
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] net/mptcp: fix repeated words in comments
2022-10-23 13:47 ` Bagas Sanjaya
@ 2022-10-24 22:04 ` Mat Martineau
0 siblings, 0 replies; 3+ messages in thread
From: Mat Martineau @ 2022-10-24 22:04 UTC (permalink / raw)
To: wangjianli
Cc: Bagas Sanjaya, Matthieu Baerts, David Miller, Eric Dumazet,
Jakub Kicinski, Paolo Abeni, netdev, mptcp, linux-kernel
On Sun, 23 Oct 2022, Bagas Sanjaya wrote:
> On Sat, Oct 22, 2022 at 03:05:27PM +0800, wangjianli wrote:
>> Delete the redundant word 'the'.
>>
>> Signed-off-by: wangjianli <wangjianli@cdjrlc.com>
>> ---
>> net/mptcp/token.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/net/mptcp/token.c b/net/mptcp/token.c
>> index f52ee7b26aed..b817c2564300 100644
>> --- a/net/mptcp/token.c
>> +++ b/net/mptcp/token.c
>> @@ -287,7 +287,7 @@ EXPORT_SYMBOL_GPL(mptcp_token_get_sock);
>> * This function returns the first mptcp connection structure found inside the
>> * token container starting from the specified position, or NULL.
>> *
>> - * On successful iteration, the iterator is move to the next position and the
>> + * On successful iteration, the iterator is move to the next position and
>> * the acquires a reference to the returned socket.
>> */
>> struct mptcp_sock *mptcp_token_iter_next(const struct net *net, long *s_slot,
>
> NAK!
>
> Instead, slightly reword the comment above as "On successful iteration,
> the iterator moves to the next position and acquires a reference to the
> returned socket.".
>
Agree on this rewording.
This particular duplicated word came up before, and I thought it would be
best if the author sent a v2 - but they never did. I will fix this in the
MPTCP tree next week if there's no suitable v2 by then.
--
Mat Martineau
Intel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-10-24 23:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-22 7:05 [PATCH] net/mptcp: fix repeated words in comments wangjianli
2022-10-23 13:47 ` Bagas Sanjaya
2022-10-24 22:04 ` Mat Martineau
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).