* [PATCH net-next] mptcp: Fix spelling mistakes and cleanup code
@ 2022-07-30 9:06 studentxswpy
2022-08-02 22:21 ` Mat Martineau
0 siblings, 1 reply; 2+ messages in thread
From: studentxswpy @ 2022-07-30 9:06 UTC (permalink / raw)
To: mathew.j.martineau, matthieu.baerts, davem, edumazet, kuba,
pabeni, netdev, mptcp, linux-kernel
Cc: Xie Shaowen, Hacash Robot
From: Xie Shaowen <studentxswpy@163.com>
fix follow spelling misktakes:
regarless ==> regardless
interaces ==> interfaces
Reported-by: Hacash Robot <hacashRobot@santino.com>
Signed-off-by: Xie Shaowen <studentxswpy@163.com>
---
net/mptcp/pm_netlink.c | 2 +-
net/mptcp/subflow.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/mptcp/pm_netlink.c b/net/mptcp/pm_netlink.c
index 7c7395b58944..5bdb559d5242 100644
--- a/net/mptcp/pm_netlink.c
+++ b/net/mptcp/pm_netlink.c
@@ -1134,7 +1134,7 @@ void mptcp_pm_nl_subflow_chk_stale(const struct mptcp_sock *msk, struct sock *ss
}
unlock_sock_fast(ssk, slow);
- /* always try to push the pending data regarless of re-injections:
+ /* always try to push the pending data regardless of re-injections:
* we can possibly use backup subflows now, and subflow selection
* is cheap under the msk socket lock
*/
diff --git a/net/mptcp/subflow.c b/net/mptcp/subflow.c
index af28f3b60389..901c763dcdbb 100644
--- a/net/mptcp/subflow.c
+++ b/net/mptcp/subflow.c
@@ -1634,7 +1634,7 @@ int mptcp_subflow_create_socket(struct sock *sk, struct socket **new_sock)
/* the newly created socket really belongs to the owning MPTCP master
* socket, even if for additional subflows the allocation is performed
* by a kernel workqueue. Adjust inode references, so that the
- * procfs/diag interaces really show this one belonging to the correct
+ * procfs/diag interfaces really show this one belonging to the correct
* user.
*/
SOCK_INODE(sf)->i_ino = SOCK_INODE(sk->sk_socket)->i_ino;
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] mptcp: Fix spelling mistakes and cleanup code
2022-07-30 9:06 [PATCH net-next] mptcp: Fix spelling mistakes and cleanup code studentxswpy
@ 2022-08-02 22:21 ` Mat Martineau
0 siblings, 0 replies; 2+ messages in thread
From: Mat Martineau @ 2022-08-02 22:21 UTC (permalink / raw)
To: Xie Shaowen
Cc: matthieu.baerts, davem, edumazet, kuba, pabeni, netdev, mptcp,
linux-kernel, Hacash Robot
On Sat, 30 Jul 2022, studentxswpy@163.com wrote:
> From: Xie Shaowen <studentxswpy@163.com>
>
> fix follow spelling misktakes:
> regarless ==> regardless
> interaces ==> interfaces
>
> Reported-by: Hacash Robot <hacashRobot@santino.com>
> Signed-off-by: Xie Shaowen <studentxswpy@163.com>
Hello Xie Shaowen -
These spelling errors were already fixed in commit d640516a65d8, merged
2022-06-28. Please make sure to work from an up-to-date branch!
Thanks for your patch,
Mat
> ---
> net/mptcp/pm_netlink.c | 2 +-
> net/mptcp/subflow.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/net/mptcp/pm_netlink.c b/net/mptcp/pm_netlink.c
> index 7c7395b58944..5bdb559d5242 100644
> --- a/net/mptcp/pm_netlink.c
> +++ b/net/mptcp/pm_netlink.c
> @@ -1134,7 +1134,7 @@ void mptcp_pm_nl_subflow_chk_stale(const struct mptcp_sock *msk, struct sock *ss
> }
> unlock_sock_fast(ssk, slow);
>
> - /* always try to push the pending data regarless of re-injections:
> + /* always try to push the pending data regardless of re-injections:
> * we can possibly use backup subflows now, and subflow selection
> * is cheap under the msk socket lock
> */
> diff --git a/net/mptcp/subflow.c b/net/mptcp/subflow.c
> index af28f3b60389..901c763dcdbb 100644
> --- a/net/mptcp/subflow.c
> +++ b/net/mptcp/subflow.c
> @@ -1634,7 +1634,7 @@ int mptcp_subflow_create_socket(struct sock *sk, struct socket **new_sock)
> /* the newly created socket really belongs to the owning MPTCP master
> * socket, even if for additional subflows the allocation is performed
> * by a kernel workqueue. Adjust inode references, so that the
> - * procfs/diag interaces really show this one belonging to the correct
> + * procfs/diag interfaces really show this one belonging to the correct
> * user.
> */
> SOCK_INODE(sf)->i_ino = SOCK_INODE(sk->sk_socket)->i_ino;
> --
> 2.25.1
>
>
--
Mat Martineau
Intel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-02 22:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-30 9:06 [PATCH net-next] mptcp: Fix spelling mistakes and cleanup code studentxswpy
2022-08-02 22:21 ` 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).