]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: Fix code formatting
authorMat Martineau <mathew.j.martineau@linux.intel.com>
Sat, 25 Jan 2020 00:04:03 +0000 (16:04 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 25 Jan 2020 07:14:39 +0000 (08:14 +0100)
commit010ef31e6c59d39e4f528d9d1b4deb3b6aec7bf3
treeaadcf5a2ff6f93e7f3fe90d6ef8194490e0cf5fd
parente758b89eaf73148b586ad2ac41d7f0b81f1db975
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>
net/mptcp/protocol.c
net/mptcp/subflow.c