[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180320175305.GA65999@ivb43>
Date: Wed, 21 Mar 2018 01:53:05 +0800
From: kbuild test robot <lkp@...el.com>
To: Atul Gupta <atul.gupta@...lsio.com>
Cc: kbuild-all@...org, davem@...emloft.net,
herbert@...dor.apana.org.au, davejwatson@...com,
sd@...asysnail.net, sbrivio@...hat.com,
linux-crypto@...r.kernel.org, netdev@...r.kernel.org,
ganeshgr@...lsio.com
Subject: [RFC PATCH] tls: create_ctx() can be static
Fixes: cf0c1a4821ae ("tls: support for Inline tls record")
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
tls_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/tls/tls_main.c b/net/tls/tls_main.c
index 608e6cd..42439fb 100644
--- a/net/tls/tls_main.c
+++ b/net/tls/tls_main.c
@@ -456,7 +456,7 @@ static int tls_setsockopt(struct sock *sk, int level, int optname,
return do_tls_setsockopt(sk, optname, optval, optlen);
}
-struct tls_context *create_ctx(struct sock *sk)
+static struct tls_context *create_ctx(struct sock *sk)
{
struct inet_connection_sock *icsk = inet_csk(sk);
struct tls_context *ctx;
Powered by blists - more mailing lists