Skip to content

Commit

Permalink
packet: fix "foo * bar" and "(foo*)" problems
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Weilong Chen authored and David S. Miller committed Dec 31, 2013
1 parent 46306b4 commit d4dd8ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/packet/af_packet.c
Original file line number Diff line number Diff line change
Expand Up @@ -1356,9 +1356,9 @@ static void __fanout_unlink(struct sock *sk, struct packet_sock *po)
spin_unlock(&f->lock);
}

static bool match_fanout_group(struct packet_type *ptype, struct sock * sk)
static bool match_fanout_group(struct packet_type *ptype, struct sock *sk)
{
if (ptype->af_packet_priv == (void*)((struct packet_sock *)sk)->fanout)
if (ptype->af_packet_priv == (void *)((struct packet_sock *)sk)->fanout)
return true;

return false;
Expand Down

0 comments on commit d4dd8ae

Please sign in to comment.