From: kbuild test robot <lkp@intel.com>
To: Xue Chaojing <xuechaojing@huawei.com>
Cc: kbuild-all@01.org, davem@davemloft.net,
	linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
	luoshaokai@huawei.com, cloud.wangxiaoyun@huawei.com,
	xuechaojing@huawei.com, chiqijun@huawei.com, wulike1@huawei.com
Subject: [RFC PATCH] hinic: hinic_rx_configure() can be static
Date: Tue, 4 Jun 2019 07:23:11 +0800	[thread overview]
Message-ID: <20190603232311.GA26152@lkp-kbuild15> (raw)
In-Reply-To: <20190603043536.4970-1-xuechaojing@huawei.com>
Fixes: 7e8a92c6b00c ("hinic: add LRO support")
Signed-off-by: kbuild test robot <lkp@intel.com>
---
 hinic_main.c |    2 +-
 hinic_port.c |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/net/ethernet/huawei/hinic/hinic_main.c b/drivers/net/ethernet/huawei/hinic/hinic_main.c
index 175fe53..530a205 100644
--- a/drivers/net/ethernet/huawei/hinic/hinic_main.c
+++ b/drivers/net/ethernet/huawei/hinic/hinic_main.c
@@ -372,7 +372,7 @@ static void free_rxqs(struct hinic_dev *nic_dev)
 	nic_dev->rxqs = NULL;
 }
 
-int hinic_rx_configure(struct net_device *netdev)
+static int hinic_rx_configure(struct net_device *netdev)
 {
 	struct hinic_dev *nic_dev = netdev_priv(netdev);
 	int err;
diff --git a/drivers/net/ethernet/huawei/hinic/hinic_port.c b/drivers/net/ethernet/huawei/hinic/hinic_port.c
index c1947b2..1783bd3 100644
--- a/drivers/net/ethernet/huawei/hinic/hinic_port.c
+++ b/drivers/net/ethernet/huawei/hinic/hinic_port.c
@@ -466,8 +466,8 @@ int hinic_set_max_qnum(struct hinic_dev *nic_dev, u8 num_rqs)
 	return 0;
 }
 
-int hinic_set_rx_lro(struct hinic_dev *nic_dev, u8 ipv4_en, u8 ipv6_en,
-		     u8 max_wqe_num)
+static int hinic_set_rx_lro(struct hinic_dev *nic_dev, u8 ipv4_en, u8 ipv6_en,
+			    u8 max_wqe_num)
 {
 	struct hinic_hwdev *hwdev = nic_dev->hwdev;
 	struct hinic_hwif *hwif = hwdev->hwif;
@@ -494,7 +494,7 @@ int hinic_set_rx_lro(struct hinic_dev *nic_dev, u8 ipv4_en, u8 ipv6_en,
 	return 0;
 }
 
-int hinic_set_rx_lro_timer(struct hinic_dev *nic_dev, u32 timer_value)
+static int hinic_set_rx_lro_timer(struct hinic_dev *nic_dev, u32 timer_value)
 {
 	struct hinic_hwdev *hwdev = nic_dev->hwdev;
 	struct hinic_lro_timer lro_timer = {0};
     prev parent reply	other threads:[~2019-06-03 23:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-03  4:35 [PATCH net-next v3] hinic: add LRO support Xue Chaojing
2019-06-03 23:05 ` Jesse Brandeburg
2019-06-04  9:02   ` xuechaojing
2019-06-03 23:23 ` kbuild test robot
2019-06-03 23:23 ` 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=20190603232311.GA26152@lkp-kbuild15 \
    --to=lkp@intel.com \
    --cc=chiqijun@huawei.com \
    --cc=cloud.wangxiaoyun@huawei.com \
    --cc=davem@davemloft.net \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luoshaokai@huawei.com \
    --cc=netdev@vger.kernel.org \
    --cc=wulike1@huawei.com \
    --cc=xuechaojing@huawei.com \
    /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;
as well as URLs for NNTP newsgroup(s).