netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] packet: fix "foo * bar" and "(foo*)" problems
@ 2013-12-23  3:31 Chen Weilong
  2013-12-31 18:38 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Chen Weilong @ 2013-12-23  3:31 UTC (permalink / raw)
  To: davem; +Cc: netdev

From: Weilong Chen <chenweilong@huawei.com>

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

Signed-off-by: Weilong Chen <chenweilong@huawei.com>
---
 net/packet/af_packet.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c
index dd38408..279467b 100644
--- a/net/packet/af_packet.c
+++ b/net/packet/af_packet.c
@@ -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;
-- 
1.7.12

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] packet: fix "foo * bar" and "(foo*)" problems
  2013-12-23  3:31 [PATCH] packet: fix "foo * bar" and "(foo*)" problems Chen Weilong
@ 2013-12-31 18:38 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2013-12-31 18:38 UTC (permalink / raw)
  To: chenweilong; +Cc: netdev

From: Chen Weilong <chenweilong@huawei.com>
Date: Mon, 23 Dec 2013 11:31:38 +0800

> From: Weilong Chen <chenweilong@huawei.com>
> 
> Cleanup checkpatch errors.Specially,the second changed line
> is exactly 80 columns long.
> 
> Signed-off-by: Weilong Chen <chenweilong@huawei.com>

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-31 18:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-23  3:31 [PATCH] packet: fix "foo * bar" and "(foo*)" problems Chen Weilong
2013-12-31 18:38 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).