lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 15 Feb 2018 20:26:39 +0800 From: kbuild test robot <lkp@...el.com> To: Atul Gupta <atul.gupta@...lsio.com> Cc: kbuild-all@...org, davejwatson@...com, herbert@...dor.apana.org.au, sd@...asysnail.net, linux-crypto@...r.kernel.org, davem@...emloft.net, netdev@...r.kernel.org, ganeshgr@...lsio.com Subject: [RFC PATCH] chtls_netdev() can be static Fixes: 5995a3b59239 ("Makefile Kconfig") Signed-off-by: Fengguang Wu <fengguang.wu@...el.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);
Powered by blists - more mailing lists