Skip to contentSkip to conversation

packet: fix "foo * bar" and "(foo*)" problems

PATCH Applied Chen Weilong 2 participants 2 messages Dec 23, 2013 – Dec 31, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 packet: fix "foo * bar" and "(foo*)" problems

From: Weilong Chen <[email protected]>

Cleanup checkpatch errors.Specially,the second changed line is exactly 80 columns long.

---
 net/packet/af_packet.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
net/packet/af_packet.c +2 -2
index dd38408..279467b 100644
@@ -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;
Signature · 1 line
1.7.12