[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151020155456.GA96665@xian>
Date: Tue, 20 Oct 2015 23:54:56 +0800
From: kbuild test robot <lkp@...el.com>
To: Salil <salil.mehta@...wei.com>
Cc: kbuild-all@...org, davem@...emloft.net, robh+dt@...nel.org,
pawel.moll@....com, mark.rutland@....com,
paul.gortmaker@...driver.com, ijc+devicetree@...lion.org.uk,
galak@...eaurora.org, catalin.marinas@....com, will.deacon@....com,
arnd@...db.de, liguozhu@...ilicon.com, yisen.zhuang@...wei.com,
dingtianhong@...wei.com, zhangfei.gao@...aro.org,
huangdaode@...ilicon.com, kenneth-lee-2012@...mail.com,
salil.mehta@...wei.com, mehta.salil.lnk@...il.com,
xuwei5@...ilicon.com, lisheng011@...wei.com,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, netdev@...r.kernel.org,
linuxarm@...wei.com, yankejian <yankejian@...wei.com>,
lipeng <lipeng321@...wei.com>
Subject: [RFC PATCH] net:hns: hns_aev2_toggle_ring_irq() can be static
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
hns_ae_adapt.c | 2 +-
hns_enet.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c b/drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
index c3d64ce..bf277c7 100644
--- a/drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
+++ b/drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
@@ -337,7 +337,7 @@ void hns_ae_toggle_ring_irq(struct hnae_ring *ring, u32 mask)
hns_rcb_int_ctrl_hw(ring->q, flag, mask);
}
-void hns_aev2_toggle_ring_irq(struct hnae_ring *ring, u32 mask)
+static void hns_aev2_toggle_ring_irq(struct hnae_ring *ring, u32 mask)
{
u32 flag;
diff --git a/drivers/net/ethernet/hisilicon/hns/hns_enet.c b/drivers/net/ethernet/hisilicon/hns/hns_enet.c
index 7d996a4..33061f1 100644
--- a/drivers/net/ethernet/hisilicon/hns/hns_enet.c
+++ b/drivers/net/ethernet/hisilicon/hns/hns_enet.c
@@ -995,7 +995,7 @@ static void hns_nic_ring_close(struct net_device *netdev, int idx)
napi_disable(&priv->ring_data[idx].napi);
}
-void hns_set_irq_affinity(struct hns_nic_priv *priv)
+static void hns_set_irq_affinity(struct hns_nic_priv *priv)
{
struct hnae_handle *h = priv->ae_handle;
struct hns_nic_ring_data *rd;
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists