Skip to contentSkip to conversation

tcp: Fix inconsistent indenting warning

PATCH Applied Jiayuan Chen 3 participants 3 messages Mar 25 – Mar 27

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

PATCH 1/1 tcp: Fix inconsistent indenting warning

Suppress such warning reported by test robot:
include/net/tcp.h:1449 tcp_ca_event() warn: inconsistent indenting

Fixes d1e59a469737 ("tcp: add cwnd_event_tx_start to tcp_congestion_ops")
---
 include/net/tcp.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/net/tcp.h +1 -1
index 39ff4cf3c810..565943c34b7e 100644
@@ -1444,7 +1444,7 @@ static inline void tcp_ca_event(struct sock *sk, const enum tcp_ca_event event)
 	const struct inet_connection_sock *icsk = inet_csk(sk);
 
 	if (event == CA_EVENT_TX_START) {
-	    if (icsk->icsk_ca_ops->cwnd_event_tx_start)
+		if (icsk->icsk_ca_ops->cwnd_event_tx_start)
 			icsk->icsk_ca_ops->cwnd_event_tx_start(sk);
 		return;
 	}
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Jiayuan Chen

Suppress such warning reported by test robot:
include/net/tcp.h:1449 tcp_ca_event() warn: inconsistent indenting

Fixes d1e59a469737 ("tcp: add cwnd_event_tx_start to tcp_congestion_ops")

Please note you do not need to spam lkml@ for such a trivial patch.

#2 lore raw
In reply to Jiayuan Chen
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 9 lines · On Wed, 25 Mar 2026 15:18:54 +0800 you wrote:

Suppress such warning reported by test robot:
include/net/tcp.h:1449 tcp_ca_event() warn: inconsistent indenting

Fixes d1e59a469737 ("tcp: add cwnd_event_tx_start to tcp_congestion_ops")

[...]

Here is the summary with links:
- [net-next,v1] tcp: Fix inconsistent indenting warning

    https://git.kernel.org/netdev/net-next/c/552994294fe2

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html