[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190530230620.GA3979@lkp-kbuild15>
Date: Fri, 31 May 2019 07:06:20 +0800
From: kbuild test robot <lkp@...el.com>
To: Jason Baron <jbaron@...mai.com>
Cc: kbuild-all@...org, netdev@...r.kernel.org,
Christoph Paasch <cpaasch@...le.com>,
Eric Dumazet <edumazet@...gle.com>,
Alexey Kuznetsov <kuznet@....inr.ac.ru>,
Hideaki YOSHIFUJI <yoshfuji@...ux-ipv6.org>,
linux-kernel@...r.kernel.org
Subject: [RFC PATCH net-next] tcp: tcp_fastopen_alloc_ctx() can be static
Fixes: 9092a76d3cf8 ("tcp: add backup TFO key infrastructure")
Signed-off-by: kbuild test robot <lkp@...el.com>
---
tcp_fastopen.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/net/ipv4/tcp_fastopen.c b/net/ipv4/tcp_fastopen.c
index 8e15804..7d19fa4 100644
--- a/net/ipv4/tcp_fastopen.c
+++ b/net/ipv4/tcp_fastopen.c
@@ -72,9 +72,9 @@ void tcp_fastopen_ctx_destroy(struct net *net)
call_rcu(&ctxt->rcu, tcp_fastopen_ctx_free);
}
-struct tcp_fastopen_context *tcp_fastopen_alloc_ctx(void *primary_key,
- void *backup_key,
- unsigned int len)
+static struct tcp_fastopen_context *tcp_fastopen_alloc_ctx(void *primary_key,
+ void *backup_key,
+ unsigned int len)
{
struct tcp_fastopen_context *new_ctx;
void *key = primary_key;
Powered by blists - more mailing lists