Patchwork sctp: make sctp_addr_wq_timeout_handler static

login
register
mail settings
Submitter stephen hemminger
Date Dec. 29, 2012, 4:18 a.m.
Message ID <20121228201855.4275db64@nehalam.linuxnetplumber.net>
Download mbox | patch
Permalink /patch/208616/
State Accepted
Delegated to: David Miller
Headers show

Comments

stephen hemminger - Dec. 29, 2012, 4:18 a.m.
Fix sparse warning about local function that should be static.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>


--
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
David Miller - Dec. 29, 2012, 4:33 a.m.
From: Stephen Hemminger <shemminger@vyatta.com>
Date: Fri, 28 Dec 2012 20:18:55 -0800

> Fix sparse warning about local function that should be static.
> 
> Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>

Applied.
--
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

Patch

--- a/net/sctp/protocol.c	2012-12-27 11:36:34.817072247 -0800
+++ b/net/sctp/protocol.c	2012-12-28 20:02:51.445778974 -0800
@@ -595,7 +595,7 @@  static void sctp_v4_ecn_capable(struct s
 	INET_ECN_xmit(sk);
 }
 
-void sctp_addr_wq_timeout_handler(unsigned long arg)
+static void sctp_addr_wq_timeout_handler(unsigned long arg)
 {
 	struct net *net = (struct net *)arg;
 	struct sctp_sockaddr_entry *addrw, *temp;