Netdev List
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Atul Gupta <atul.gupta@chelsio.com>
Cc: kbuild-all@01.org, davejwatson@fb.com,
	herbert@gondor.apana.org.au, sd@queasysnail.net,
	linux-crypto@vger.kernel.org, davem@davemloft.net,
	netdev@vger.kernel.org, ganeshgr@chelsio.com
Subject: [RFC PATCH] chtls_netdev() can be static
Date: Thu, 15 Feb 2018 20:26:39 +0800	[thread overview]
Message-ID: <20180215122639.GA128160@lkp-hsx02> (raw)
In-Reply-To: <1518437249-14732-1-git-send-email-atul.gupta@chelsio.com>


Fixes: 5995a3b59239 ("Makefile Kconfig")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 chtls_main.c |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/crypto/chelsio/chtls/chtls_main.c b/drivers/crypto/chelsio/chtls/chtls_main.c
index 58efb4a..3452f44 100644
--- a/drivers/crypto/chelsio/chtls/chtls_main.c
+++ b/drivers/crypto/chelsio/chtls/chtls_main.c
@@ -136,8 +136,8 @@ static int chtls_stop_listen(struct sock *sk)
 	return 0;
 }
 
-struct net_device *chtls_netdev(struct tls_device *dev,
-				struct net_device *netdev)
+static struct net_device *chtls_netdev(struct tls_device *dev,
+				       struct net_device *netdev)
 {
 	struct chtls_dev *cdev = to_chtls_dev(dev);
 	int i;
@@ -149,12 +149,12 @@ struct net_device *chtls_netdev(struct tls_device *dev,
 	return cdev->ports[i];
 }
 
-void chtls_update_prot(struct tls_device *dev, struct sock *sk)
+static void chtls_update_prot(struct tls_device *dev, struct sock *sk)
 {
 	sk->sk_prot = &chtls_base_prot;
 }
 
-int chtls_inline_feature(struct tls_device *dev)
+static int chtls_inline_feature(struct tls_device *dev)
 {
 	struct chtls_dev *cdev = to_chtls_dev(dev);
 	struct net_device *netdev;
@@ -168,14 +168,14 @@ int chtls_inline_feature(struct tls_device *dev)
 	return 1;
 }
 
-int chtls_create_hash(struct tls_device *dev, struct sock *sk)
+static int chtls_create_hash(struct tls_device *dev, struct sock *sk)
 {
 	if (sk->sk_state == TCP_LISTEN)
 		return chtls_start_listen(sk);
 	return 0;
 }
 
-void chtls_destroy_hash(struct tls_device *dev, struct sock *sk)
+static void chtls_destroy_hash(struct tls_device *dev, struct sock *sk)
 {
 	if (sk->sk_state == TCP_LISTEN)
 		chtls_stop_listen(sk);

      parent reply	other threads:[~2018-02-15 12:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-12 12:07 [Crypto v4 12/12] Makefile Kconfig Atul Gupta
2018-02-15  2:55 ` kbuild test robot
2018-02-15 12:26 ` kbuild test robot
2018-02-15 12:26 ` kbuild test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180215122639.GA128160@lkp-hsx02 \
    --to=lkp@intel.com \
    --cc=atul.gupta@chelsio.com \
    --cc=davejwatson@fb.com \
    --cc=davem@davemloft.net \
    --cc=ganeshgr@chelsio.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=kbuild-all@01.org \
    --cc=linux-crypto@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=sd@queasysnail.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox