All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: jon@ringle.org
Cc: kbuild-all@01.org, broonie@kernel.org,
	gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org,
	netdev@vger.kernel.org, Jon Ringle <jringle@gridpoint.com>
Subject: [RFC PATCH] net: encx24j600_open() can be static
Date: Thu, 1 Oct 2015 15:36:19 +0800	[thread overview]
Message-ID: <20151001073618.GA128136@xian> (raw)
In-Reply-To: <1443681187-29505-2-git-send-email-jon@ringle.org>


Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 encx24j600.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/net/ethernet/microchip/encx24j600.c b/drivers/net/ethernet/microchip/encx24j600.c
index 27065ec..b7cb168 100644
--- a/drivers/net/ethernet/microchip/encx24j600.c
+++ b/drivers/net/ethernet/microchip/encx24j600.c
@@ -772,7 +772,7 @@ static int encx24j600_set_mac_address(struct net_device *dev, void *addr)
 	return encx24j600_set_hw_macaddr(dev);
 }
 
-int encx24j600_open(struct net_device *dev)
+static int encx24j600_open(struct net_device *dev)
 {
 	struct encx24j600_priv *priv = netdev_priv(dev);
 
@@ -793,7 +793,7 @@ int encx24j600_open(struct net_device *dev)
 	return 0;
 }
 
-int encx24j600_stop(struct net_device *dev)
+static int encx24j600_stop(struct net_device *dev)
 {
 	struct encx24j600_priv *priv = netdev_priv(dev);
 
@@ -894,7 +894,7 @@ static netdev_tx_t encx24j600_tx(struct sk_buff *skb, struct net_device *dev)
 }
 
 /* Deal with a transmit timeout */
-void encx24j600_tx_timeout(struct net_device *dev)
+static void encx24j600_tx_timeout(struct net_device *dev)
 {
 	struct encx24j600_priv *priv = netdev_priv(dev);
 

  parent reply	other threads:[~2015-10-01  7:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-01  6:33 [PATCH 1/2] regmap: Allow installing custom reg_update_bits function jon
2015-10-01  6:33 ` [PATCH 2/2] net: Microchip encx24j600 driver jon
2015-10-01  6:48   ` kbuild test robot
2015-10-01  7:36   ` kbuild test robot
2015-10-01  7:36   ` kbuild test robot [this message]
2015-10-01  7:40   ` kbuild test robot
2015-10-01  9:44 ` [PATCH 1/2] regmap: Allow installing custom reg_update_bits function Mark Brown
2015-10-01 12:29   ` Jon Ringle
2015-10-02 17:19     ` Mark Brown

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=20151001073618.GA128136@xian \
    --to=lkp@intel.com \
    --cc=broonie@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=jon@ringle.org \
    --cc=jringle@gridpoint.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.