]> 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)
commitf28a119c3e8b9786bc06414111cdc4e6bc24f522
treea985ffe29cd47ccb1e2433968a488e66adfe6a2c
parentcb5112536ae4caee2db579bc5fbf63b1eb245fba
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