linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: lkp@intel.com (kbuild test robot)
To: linux-arm-kernel@lists.infradead.org
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;

  parent 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
2015-10-20 15:54   ` kbuild test robot [this message]
2015-10-20 15:01 ` [PATCH net-next 2/4] net:hns: Add Hip06 "RSS(Receive Side Scaling)" support to HNS Driver Salil
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=linux-arm-kernel@lists.infradead.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).