Skip to contentSkip to conversation

tcp: fixed whitespace trailing error

PATCH In review Malkoot Khan 2 participants 2 messages Dec 28, 2023 – Jan 3, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tcp: fixed whitespace trailing error

Corrected whitespaces trailing error

---
 net/ipv4/tcp_timer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/ipv4/tcp_timer.c +1 -1
index 1f9f6c1c196b..b7d0f8aee7ff 100644
@@ -542,7 +542,7 @@ void tcp_retransmit_timer(struct sock *sk)
 		struct inet_sock *inet = inet_sk(sk);
 		u32 rtx_delta;
 
-		rtx_delta = tcp_time_stamp_ts(tp) - (tp->retrans_stamp ?: 
+		rtx_delta = tcp_time_stamp_ts(tp) - (tp->retrans_stamp ? :
 				tcp_skb_timestamp_ts(tp->tcp_usec_ts, skb));
 		if (tp->tcp_usec_ts)
 			rtx_delta /= USEC_PER_MSEC;
Signature · 1 line
2.34.1
maintainer
#1 lore raw

net/ipv4/tcp_timer.c void tcp_retransmit_timer(struct sock *sk) · line 545

Quoted 2 lines · On Thu, 28 Dec 2023 16:42:50 +0000 Malkoot Khan wrote:
net/ipv4/tcp_timer.c +1 -1
-		rtx_delta = tcp_time_stamp_ts(tp) - (tp->retrans_stamp ?: 
+		rtx_delta = tcp_time_stamp_ts(tp) - (tp->retrans_stamp ? :

Don't insert the space between the ? and :, tho, please.

Signature · 1 line
pw-bot: cr