diff mbox

af_packet: match_fanout_group() can be static

Message ID 20120823115121.GA17472@localhost
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

kbuild test robot Aug. 23, 2012, 11:51 a.m. UTC
cc: Eric Leblond <eric@regit.org>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 net/packet/af_packet.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

David Miller Aug. 23, 2012, 4:28 p.m. UTC | #1
From: Fengguang Wu <fengguang.wu@intel.com>
Date: Thu, 23 Aug 2012 19:51:21 +0800

> cc: Eric Leblond <eric@regit.org>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

--- linux-next.orig/net/packet/af_packet.c	2012-08-23 19:48:43.209188551 +0800
+++ linux-next/net/packet/af_packet.c	2012-08-23 19:48:53.413188794 +0800
@@ -1273,7 +1273,7 @@  static void __fanout_unlink(struct sock
 	spin_unlock(&f->lock);
 }
 
-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)
 		return true;