[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190412045740.GA5515@lkp-wsm-ep2>
Date: Fri, 12 Apr 2019 12:57:40 +0800
From: kbuild test robot <lkp@...el.com>
To: Atul Gupta <atul.gupta@...lsio.com>
Cc: kbuild-all@...org, herbert@...dor.apana.org.au,
davem@...emloft.net, linux-crypto@...r.kernel.org,
netdev@...r.kernel.org, dt@...lsio.com, atul.gupta@...lsio.com
Subject: [RFC PATCH] crypto/chelsio/chtls: chtls_sock_release() can be static
Fixes: c75f2018e89e ("crypto/chelsio/chtls: CPL for TLS client")
Signed-off-by: kbuild test robot <lkp@...el.com>
---
chtls_cm.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/crypto/chelsio/chtls/chtls_cm.c b/drivers/crypto/chelsio/chtls/chtls_cm.c
index 25a23e7..ba8316c 100644
--- a/drivers/crypto/chelsio/chtls/chtls_cm.c
+++ b/drivers/crypto/chelsio/chtls/chtls_cm.c
@@ -51,7 +51,7 @@ static unsigned char new_state[16] = {
/* TCP_CLOSING */ TCP_CLOSING,
};
-void chtls_sock_release(struct kref *ref)
+static void chtls_sock_release(struct kref *ref)
{
struct chtls_sock *csk =
container_of(ref, struct chtls_sock, kref);
@@ -1339,7 +1339,7 @@ static void chtls_connect_req_arp_failure(void *handle, struct sk_buff *skb)
sock_put(sk);
}
-void chtls_handshake_work(struct sock *sk)
+static void chtls_handshake_work(struct sock *sk)
{
struct chtls_sock *csk = sk->sk_user_data;
@@ -1359,7 +1359,7 @@ void stop_hndsk_work(struct sock *sk)
}
}
-void chtls_fix_pending_tx_buffers(struct sock *sk)
+static void chtls_fix_pending_tx_buffers(struct sock *sk)
{
struct chtls_sock *csk = sk->sk_user_data;
struct tcp_sock *tp = tcp_sk(sk);
Powered by blists - more mailing lists