diff options
author | Mat Martineau <mathew.j.martineau@linux.intel.com> | 2020-01-24 16:04:03 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-25 08:14:39 +0100 |
commit | edc7e4898d5fdb164de1ab9d3a0c30ef9888e4f1 (patch) | |
tree | aadcf5a2ff6f93e7f3fe90d6ef8194490e0cf5fd /net/mptcp/protocol.c | |
parent | mptcp: do not inherit inet proto ops (diff) | |
download | wireguard-linux-edc7e4898d5fdb164de1ab9d3a0c30ef9888e4f1.tar.xz wireguard-linux-edc7e4898d5fdb164de1ab9d3a0c30ef9888e4f1.zip |
mptcp: Fix code formatting
checkpatch.pl had a few complaints in the last set of MPTCP patches:
ERROR: code indent should use tabs where possible
+^I subflow, sk->sk_family, icsk->icsk_af_ops, target, mapped);$
CHECK: Comparison to NULL could be written "!new_ctx"
+ if (new_ctx == NULL) {
ERROR: "foo * bar" should be "foo *bar"
+static const struct proto_ops * tcp_proto_ops(struct sock *sk)
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mptcp/protocol.c')
-rw-r--r-- | net/mptcp/protocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mptcp/protocol.c b/net/mptcp/protocol.c index 41d49126d29a..39fdca79ce90 100644 --- a/net/mptcp/protocol.c +++ b/net/mptcp/protocol.c @@ -26,7 +26,7 @@ static void __mptcp_close(struct sock *sk, long timeout); -static const struct proto_ops * tcp_proto_ops(struct sock *sk) +static const struct proto_ops *tcp_proto_ops(struct sock *sk) { #if IS_ENABLED(CONFIG_IPV6) if (sk->sk_family == AF_INET6) |