diff options
author | Weilong Chen <chenweilong@huawei.com> | 2013-12-22 22:31:38 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-31 13:38:41 -0500 |
commit | d4dd8aeefda96225abbb6ab21c80bb1cd9b684db (patch) | |
tree | 53d5487a7a8f0738ef6eed5d973827401caa30ea | |
parent | 46306b49349ba9c4e5bdb9cb3c4e8b50192106bf (diff) |
packet: fix "foo * bar" and "(foo*)" problems
Cleanup checkpatch errors.Specially,the second changed line
is exactly 80 columns long.
Signed-off-by: Weilong Chen <chenweilong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/packet/af_packet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c index dd3840846ce2..279467b74eb7 100644 --- a/net/packet/af_packet.c +++ b/net/packet/af_packet.c | |||
@@ -1356,9 +1356,9 @@ static void __fanout_unlink(struct sock *sk, struct packet_sock *po) | |||
1356 | spin_unlock(&f->lock); | 1356 | spin_unlock(&f->lock); |
1357 | } | 1357 | } |
1358 | 1358 | ||
1359 | static bool match_fanout_group(struct packet_type *ptype, struct sock * sk) | 1359 | static bool match_fanout_group(struct packet_type *ptype, struct sock *sk) |
1360 | { | 1360 | { |
1361 | if (ptype->af_packet_priv == (void*)((struct packet_sock *)sk)->fanout) | 1361 | if (ptype->af_packet_priv == (void *)((struct packet_sock *)sk)->fanout) |
1362 | return true; | 1362 | return true; |
1363 | 1363 | ||
1364 | return false; | 1364 | return false; |