packet: fix "foo * bar" and "(foo*)" problems
Subsystems (3)
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.
Signed-off-by Weilong Chen <[email protected]>
--- net/packet/af_packet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
net/packet/af_packet.c +2 -2
@@ -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
From: Chen Weilong <[email protected]>
Date: Mon, 23 Dec 2013 11:31:38 +0800
Quoted 6 lines
From: Weilong Chen <[email protected]>
Cleanup checkpatch errors.Specially,the second changed line is exactly 80 columns long.
Signed-off-by Weilong Chen <[email protected]>
Applied.