Thread (3 messages) 3 messages, 3 authors, 2026-03-27
STALE99d

[PATCH net-next v1] tcp: Fix inconsistent indenting warning

From: Jiayuan Chen <jiayuan.chen@linux.dev>
Date: 2026-03-25 07:19:33
Also in: lkml
Subsystem: networking [general], networking [tcp], the rest · Maintainers: "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Neal Cardwell, Linus Torvalds

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

Reported-by: kernel test robot <redacted>
Closes: https://lore.kernel.org/oe-kbuild-all/202603251430.gQ3VuiKV-lkp@intel.com/ (local)
Fixes: d1e59a469737 ("tcp: add cwnd_event_tx_start to tcp_congestion_ops")
Signed-off-by: Jiayuan Chen <jiayuan.chen@linux.dev>
---
 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 39ff4cf3c810..565943c34b7e 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -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;
 	}
-- 
2.43.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help