* [PATCH] tcp: fixed whitespace trailing error
@ 2023-12-28 16:42 Malkoot Khan
2024-01-03 22:00 ` Jakub Kicinski
0 siblings, 1 reply; 2+ messages in thread
From: Malkoot Khan @ 2023-12-28 16:42 UTC (permalink / raw)
To: edumazet; +Cc: davem, dsahern, kuba, pabeni, netdev, linux-kernel, Malkoot Khan
Corrected whitespaces trailing error
Signed-off-by: Malkoot Khan <engr.mkhan1990@gmail.com>
---
net/ipv4/tcp_timer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/ipv4/tcp_timer.c b/net/ipv4/tcp_timer.c
index 1f9f6c1c196b..b7d0f8aee7ff 100644
--- a/net/ipv4/tcp_timer.c
+++ b/net/ipv4/tcp_timer.c
@@ -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;
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] tcp: fixed whitespace trailing error
2023-12-28 16:42 [PATCH] tcp: fixed whitespace trailing error Malkoot Khan
@ 2024-01-03 22:00 ` Jakub Kicinski
0 siblings, 0 replies; 2+ messages in thread
From: Jakub Kicinski @ 2024-01-03 22:00 UTC (permalink / raw)
To: Malkoot Khan; +Cc: edumazet, davem, dsahern, pabeni, netdev, linux-kernel
On Thu, 28 Dec 2023 16:42:50 +0000 Malkoot Khan wrote:
> - 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.
--
pw-bot: cr
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-01-03 22:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-28 16:42 [PATCH] tcp: fixed whitespace trailing error Malkoot Khan
2024-01-03 22:00 ` Jakub Kicinski
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).