From patchwork Thu Feb 15 12:26:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 10221059 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B00936055C for ; Thu, 15 Feb 2018 12:27:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9E82A29154 for ; Thu, 15 Feb 2018 12:27:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 92A982915C; Thu, 15 Feb 2018 12:27:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3568B29154 for ; Thu, 15 Feb 2018 12:27:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030913AbeBOM1E (ORCPT ); Thu, 15 Feb 2018 07:27:04 -0500 Received: from mga17.intel.com ([192.55.52.151]:38535 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030638AbeBOM1D (ORCPT ); Thu, 15 Feb 2018 07:27:03 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Feb 2018 04:27:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,517,1511856000"; d="scan'208";a="20287075" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga002.fm.intel.com with ESMTP; 15 Feb 2018 04:27:01 -0800 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1emId7-00051u-55; Thu, 15 Feb 2018 20:27:13 +0800 Date: Thu, 15 Feb 2018 20:26:39 +0800 From: kbuild test robot To: Atul Gupta 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 Message-ID: <20180215122639.GA128160@lkp-hsx02> References: <1518437249-14732-1-git-send-email-atul.gupta@chelsio.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1518437249-14732-1-git-send-email-atul.gupta@chelsio.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fixes: 5995a3b59239 ("Makefile Kconfig") Signed-off-by: Fengguang Wu --- 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);