netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH]  tcp: make proc_tcp_fastopen_key static
@ 2012-12-29  4:20 Stephen Hemminger
  2012-12-29  4:33 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2012-12-29  4:20 UTC (permalink / raw)
  To: David S. Miller; +Cc: netdev

Detected by sparse.

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


--- a/net/ipv4/sysctl_net_ipv4.c	2012-11-30 10:29:10.903478045 -0800
+++ b/net/ipv4/sysctl_net_ipv4.c	2012-12-28 20:05:49.687988892 -0800
@@ -232,8 +232,8 @@ static int ipv4_tcp_mem(ctl_table *ctl,
 	return 0;
 }
 
-int proc_tcp_fastopen_key(ctl_table *ctl, int write, void __user *buffer,
-			  size_t *lenp, loff_t *ppos)
+static int proc_tcp_fastopen_key(ctl_table *ctl, int write, void __user *buffer,
+				 size_t *lenp, loff_t *ppos)
 {
 	ctl_table tbl = { .maxlen = (TCP_FASTOPEN_KEY_LENGTH * 2 + 10) };
 	struct tcp_fastopen_context *ctxt;

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

* Re: [PATCH] tcp: make proc_tcp_fastopen_key static
  2012-12-29  4:20 [PATCH] tcp: make proc_tcp_fastopen_key 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: netdev

From: Stephen Hemminger <shemminger@vyatta.com>
Date: Fri, 28 Dec 2012 20:20:24 -0800

> Detected by sparse.
> 
> 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:20 [PATCH] tcp: make proc_tcp_fastopen_key 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).