netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] sctp: make sctp_addr_wq_timeout_handler static
@ 2012-12-29  4:18 Stephen Hemminger
  2012-12-29  4:33 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2012-12-29  4:18 UTC (permalink / raw)
  To: Vlad Yasevich, Sridhar Samudrala, Neil Horman, David S. Miller
  Cc: linux-sctp, netdev

Fix sparse warning about local function that should be static.

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


--- 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;

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

* Re: [PATCH] sctp: make sctp_addr_wq_timeout_handler static
  2012-12-29  4:18 [PATCH] sctp: make sctp_addr_wq_timeout_handler static Stephen Hemminger
@ 2012-12-29  4:33 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2012-12-29  4:33 UTC (permalink / raw)
  To: shemminger; +Cc: vyasevich, sri, nhorman, linux-sctp, netdev

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.

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

end of thread, other threads:[~2012-12-29  4:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-29  4:18 [PATCH] sctp: make sctp_addr_wq_timeout_handler static Stephen Hemminger
2012-12-29  4:33 ` 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).