lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 11 Feb 2013 08:25:24 -0800
From:	Stephen Hemminger <stephen@...workplumber.org>
To:	David Miller <davem@...emloft.net>,
	David Ward <david.ward@...mit.edu>
Cc:	netdev@...r.kernel.org
Subject: [PATCH net-next] mrp: make mrp_rcv static

Sparse spotted local function that could be static.

Signed-off-by: Stephen Hemminger <stephen@...workplumber.org>


--- a/net/802/mrp.c	2013-02-11 08:13:10.324575963 -0800
+++ b/net/802/mrp.c	2013-02-11 08:23:13.076756457 -0800
@@ -744,8 +744,8 @@ static int mrp_pdu_parse_msg(struct mrp_
 	return 0;
 }
 
-int mrp_rcv(struct sk_buff *skb, struct net_device *dev,
-	    struct packet_type *pt, struct net_device *orig_dev)
+static int mrp_rcv(struct sk_buff *skb, struct net_device *dev,
+		   struct packet_type *pt, struct net_device *orig_dev)
 {
 	struct mrp_application *appl = container_of(pt, struct mrp_application,
 						    pkttype);
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ