devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
Cc: mark.rutland@arm.com, catalin.marinas@arm.com,
	will.deacon@arm.com, linuxarm@huawei.com,
	paul.gortmaker@windriver.com, lisheng011@huawei.com,
	yankejian <yankejian@huawei.com>,
	pawel.moll@arm.com, xuwei5@hisilicon.com,
	huangdaode@hisilicon.com, dingtianhong@huawei.com,
	zhangfei.gao@linaro.org, yisen.zhuang@huawei.com,
	devicetree@vger.kernel.org, arnd@arndb.de,
	ijc+devicetree@hellion.org.uk, mehta.salil.lnk@gmail.com,
	robh+dt@kernel.org, lipeng <lipeng321@huawei.com>,
	linux-arm-kernel@lists.infradead.org,
	kenneth-lee-2012@foxmail.com, salil.mehta@huawei.com,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	kbuild-all@01.org, galak@codeaurora.org, liguozhu@hisilicon.com,
	davem@davemloft.net
Subject: [RFC PATCH] net:hns: hns_aev2_toggle_ring_irq() can be static
Date: Tue, 20 Oct 2015 23:54:56 +0800	[thread overview]
Message-ID: <20151020155456.GA96665@xian> (raw)
In-Reply-To: <1445353278-130498-2-git-send-email-salil.mehta@huawei.com>


Signed-off-by: Fengguang Wu <fengguang.wu@intel.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;

  reply	other threads:[~2015-10-20 15:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-20 15:01 [PATCH net-next 0/4] net:hns: Add support of Hip06 SoC to the Hislicon Network Subsystem Salil
2015-10-20 15:01 ` [PATCH net-next 1/4] " Salil
2015-10-20 15:54   ` kbuild test robot [this message]
2015-10-20 15:54   ` kbuild test robot
     [not found] ` <1445353278-130498-1-git-send-email-salil.mehta-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2015-10-20 15:01   ` [PATCH net-next 2/4] net:hns: Add Hip06 "RSS(Receive Side Scaling)" support to HNS Driver Salil
     [not found]     ` <1445353278-130498-3-git-send-email-salil.mehta-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2015-10-22  2:01       ` Yisen.Zhuang(Zhuangyuzeng)
2015-10-20 15:01 ` [PATCH net-next 3/4] net:hns: Add Hip06 "TSO(TCP Segment Offload)" support " Salil
2015-10-20 15:01 ` [PATCH net-next 4/4] net:hns: Add the init code to disable Hip06 "Hardware VLAN assist" Salil

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=20151020155456.GA96665@xian \
    --to=lkp@intel.com \
    --cc=arnd@arndb.de \
    --cc=catalin.marinas@arm.com \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=dingtianhong@huawei.com \
    --cc=galak@codeaurora.org \
    --cc=huangdaode@hisilicon.com \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=kbuild-all@01.org \
    --cc=kenneth-lee-2012@foxmail.com \
    --cc=liguozhu@hisilicon.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxarm@huawei.com \
    --cc=lipeng321@huawei.com \
    --cc=lisheng011@huawei.com \
    --cc=mark.rutland@arm.com \
    --cc=mehta.salil.lnk@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=paul.gortmaker@windriver.com \
    --cc=pawel.moll@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=salil.mehta@huawei.com \
    --cc=will.deacon@arm.com \
    --cc=xuwei5@hisilicon.com \
    --cc=yankejian@huawei.com \
    --cc=yisen.zhuang@huawei.com \
    --cc=zhangfei.gao@linaro.org \
    /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).