* [PATCH] mptcp: Fix comment typo
@ 2022-07-16 4:42 Jason Wang
2022-07-19 16:56 ` Mat Martineau
0 siblings, 1 reply; 2+ messages in thread
From: Jason Wang @ 2022-07-16 4:42 UTC (permalink / raw)
To: matthieu.baerts
Cc: mathew.j.martineau, davem, edumazet, kuba, pabeni, netdev, mptcp,
linux-kernel, Jason Wang
The double `the' is duplicated in the comment, remove one.
Signed-off-by: Jason Wang <wangborong@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..68b822691e36 100644
--- a/net/mptcp/token.c
+++ b/net/mptcp/token.c
@@ -288,7 +288,7 @@ EXPORT_SYMBOL_GPL(mptcp_token_get_sock);
* token container starting from the specified position, or NULL.
*
* On successful iteration, the iterator is move to the next position and the
- * the acquires a reference to the returned socket.
+ * acquires a reference to the returned socket.
*/
struct mptcp_sock *mptcp_token_iter_next(const struct net *net, long *s_slot,
long *s_num)
--
2.35.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mptcp: Fix comment typo
2022-07-16 4:42 [PATCH] mptcp: Fix comment typo Jason Wang
@ 2022-07-19 16:56 ` Mat Martineau
0 siblings, 0 replies; 2+ messages in thread
From: Mat Martineau @ 2022-07-19 16:56 UTC (permalink / raw)
To: Jason Wang
Cc: matthieu.baerts, davem, edumazet, kuba, pabeni, netdev, mptcp,
linux-kernel
On Sat, 16 Jul 2022, Jason Wang wrote:
> The double `the' is duplicated in the comment, remove one.
>
> Signed-off-by: Jason Wang <wangborong@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..68b822691e36 100644
> --- a/net/mptcp/token.c
> +++ b/net/mptcp/token.c
> @@ -288,7 +288,7 @@ EXPORT_SYMBOL_GPL(mptcp_token_get_sock);
> * token container starting from the specified position, or NULL.
> *
> * On successful iteration, the iterator is move to the next position and the
Two more changes are needed in the line above:
move -> moved
the -> then
Thanks for the contribution.
> - * the acquires a reference to the returned socket.
> + * acquires a reference to the returned socket.
> */
> struct mptcp_sock *mptcp_token_iter_next(const struct net *net, long *s_slot,
> long *s_num)
> --
> 2.35.1
>
>
--
Mat Martineau
Intel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-07-19 16:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-16 4:42 [PATCH] mptcp: Fix comment typo Jason Wang
2022-07-19 16:56 ` 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).