]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
tcp: Fix inconsistent indenting warning
authorJiayuan Chen <jiayuan.chen@linux.dev>
Wed, 25 Mar 2026 07:18:54 +0000 (15:18 +0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 27 Mar 2026 03:44:45 +0000 (20:44 -0700)
Suppress such warning reported by test robot:
    include/net/tcp.h:1449 tcp_ca_event() warn: inconsistent indenting

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202603251430.gQ3VuiKV-lkp@intel.com/
Signed-off-by: Jiayuan Chen <jiayuan.chen@linux.dev>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20260325071854.805-1-jiayuan.chen@linux.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/tcp.h

index 39ff4cf3c810f5619a479dcd92192043374a1739..565943c34b7e8c66812cc1ca6728ddf7baf565aa 100644 (file)
@@ -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;
        }