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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190603232311.GA26152@lkp-kbuild15>
Date:   Tue, 4 Jun 2019 07:23:11 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Xue Chaojing <xuechaojing@...wei.com>
Cc:     kbuild-all@...org, davem@...emloft.net,
        linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
        luoshaokai@...wei.com, cloud.wangxiaoyun@...wei.com,
        xuechaojing@...wei.com, chiqijun@...wei.com, wulike1@...wei.com
Subject: [RFC PATCH] hinic: hinic_rx_configure() can be static


Fixes: 7e8a92c6b00c ("hinic: add LRO support")
Signed-off-by: kbuild test robot <lkp@...el.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};

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ