[PATCH][next] tcp: Fix spelling mistake "emtpy" -> "empty"

Colin Ian King posted 1 patch 2 months ago
include/net/tcp.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH][next] tcp: Fix spelling mistake "emtpy" -> "empty"
Posted by Colin Ian King 2 months ago
There is a spelling mistake in a WARN_ONCE message. Fix it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 include/net/tcp.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/net/tcp.h b/include/net/tcp.h
index d1948d357dad..739a9fb83d0c 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -2442,7 +2442,7 @@ static inline s64 tcp_rto_delta_us(const struct sock *sk)
 		return rto_time_stamp_us - tcp_sk(sk)->tcp_mstamp;
 	} else {
 		WARN_ONCE(1,
-			"rtx queue emtpy: "
+			"rtx queue empty: "
 			"out:%u sacked:%u lost:%u retrans:%u "
 			"tlp_high_seq:%u sk_state:%u ca_state:%u "
 			"advmss:%u mss_cache:%u pmtu:%u\n",
-- 
2.39.2
Re: [PATCH][next] tcp: Fix spelling mistake "emtpy" -> "empty"
Posted by Jason Xing 2 months ago
On Tue, Sep 24, 2024 at 4:06 PM Colin Ian King <colin.i.king@gmail.com> wrote:
>
> There is a spelling mistake in a WARN_ONCE message. Fix it.
>
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>

Is it supposed to be landed in net git? See the link below:
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=c8770db2d544

Reviewed-by: Jason Xing <kerneljasonxing@gmail.com>

Thanks.
Re: [PATCH][next] tcp: Fix spelling mistake "emtpy" -> "empty"
Posted by Colin King (gmail) 2 months ago
On 24/09/2024 09:55, Jason Xing wrote:
> On Tue, Sep 24, 2024 at 4:06 PM Colin Ian King <colin.i.king@gmail.com> wrote:
>>
>> There is a spelling mistake in a WARN_ONCE message. Fix it.
>>
>> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
> 
> Is it supposed to be landed in net git? See the link below:
> https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=c8770db2d544

I found the issue in linux-next this morning.

> 
> Reviewed-by: Jason Xing <kerneljasonxing@gmail.com>
> 
> Thanks.