Skip to contentSkip to conversation

mptcp: Fix comment typo

PATCH In review Jason Wang 3 participants 3 messages Jul 19, 2022

Subsystems (3)
lore
Share & tools
lore

Jason Wang

author
#0 lore raw

PATCH 1/1 mptcp: Fix comment typo

The double `the' is duplicated in the comment, remove one.

---
 net/mptcp/token.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/mptcp/token.c +1 -1
index f52ee7b26aed..68b822691e36 100644
@@ -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)
Signature · 1 line
2.35.1
#1 lore raw

Re: mptcp: Fix comment typo: Tests Results

Hi Jason,

Thank you for your modifications, that's great!

Our CI did some validations and here is its report:

- KVM Validation: normal:
- Unstable: 1 failed test(s): selftest_mptcp_join 🔴:
- Task: https://cirrus-ci.com/task/5398489659080704
- Summary: https://api.cirrus-ci.com/v1/artifact/task/5398489659080704/summary/summary.txt

- {"code":404,"message":
- "Can't find artifacts containing file conclusion.txt"}:
- Task: https://cirrus-ci.com/task/6524389565923328
- Summary: https://api.cirrus-ci.com/v1/artifact/task/6524389565923328/summary/summary.txt

Initiator: Patchew Applier
Commits: https://github.com/multipath-tcp/mptcp_net-next/commits/a3d94f3f9ae5

If there are some issues, you can reproduce them using the same environment as the one used by the CI thanks to a docker image, e.g.:

    $ cd [kernel source code]
    $ docker run -v "${PWD}:${PWD}:rw" -w "${PWD}" --privileged --rm -it \
        --pull always mptcp/mptcp-upstream-virtme-docker:latest \
        auto-debug

For more details:

https://github.com/multipath-tcp/mptcp-upstream-virtme-docker

Please note that despite all the efforts that have been already done to have a stable tests suite when executed on a public CI like here, it is possible some reported issues are not due to your modifications. Still, do not hesitate to help us improve that ;-)

Cheers,
MPTCP GH Action bot
Bot operated by Matthieu Baerts (Tessares)

#2 lore raw
In reply to Jason Wang
Quoted 12 lines · Jason Wang

The double `the' is duplicated in the comment, remove one.

---
net/mptcp/token.c | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
net/mptcp/token.c +0 -0
index f52ee7b26aed..68b822691e36 100644

net/mptcp/token.c EXPORT_SYMBOL_GPL(mptcp_token_get_sock); · line 290

Quoted 3 lines
net/mptcp/token.c +0 -0
@@ -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.

Quoted 9 lines
net/mptcp/token.c +1 -1
- * 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)
Signature · 1 line
2.35.1

--
Mat Martineau
Intel