]> Pileus Git - ~andy/linux/blobdiff - net/packet/af_packet.c
packet: fix "foo * bar" and "(foo*)" problems
[~andy/linux] / net / packet / af_packet.c
index dd3840846ce2746ec6b1a0b9bc23005430e03433..279467b74eb70499586e21528842bc99efa1676e 100644 (file)
@@ -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;