]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: Use BIT() for OPTION_* constants
authorLeonard Crestez <cdleonard@gmail.com>
Wed, 3 Nov 2021 22:17:51 +0000 (00:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Nov 2021 11:26:15 +0000 (11:26 +0000)
commit14a77db1f5b084de445238c049ad8a2e15275303
treea985ffe29cd47ccb1e2433968a488e66adfe6a2c
parent89cdce434a0a1bcdfccd347281d0de8d3d8afde3
tcp: Use BIT() for OPTION_* constants

Extending these flags using the existing (1 << x) pattern triggers
complaints from checkpatch. Instead of ignoring checkpatch modify the
existing values to use BIT(x) style in a separate commit.

Signed-off-by: Leonard Crestez <cdleonard@gmail.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_output.c