Skip to content

Commit d4dd8ae

Browse files
Weilong Chendavem330
authored andcommitted
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>
1 parent 46306b4 commit d4dd8ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

net/packet/af_packet.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1356,9 +1356,9 @@ static void __fanout_unlink(struct sock *sk, struct packet_sock *po)
13561356
spin_unlock(&f->lock);
13571357
}
13581358

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)
13601360
{
1361-
if (ptype->af_packet_priv == (void*)((struct packet_sock *)sk)->fanout)
1361+
if (ptype->af_packet_priv == (void *)((struct packet_sock *)sk)->fanout)
13621362
return true;
13631363

13641364
return false;

0 commit comments

Comments
 (0)