OSDN Git Service

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)
commit3b65abb8d8a650e50ff5448ac38992ef8a74c584
treea985ffe29cd47ccb1e2433968a488e66adfe6a2c
parenta985442fdecb59504e3a2f1cfdd3c53af017ea5b
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