netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Bryan Whitehead <Bryan.Whitehead@microchip.com>
Cc: kbuild-all@01.org, davem@davemloft.net,
	UNGLinuxDriver@microchip.com, netdev@vger.kernel.org
Subject: [RFC PATCH] lan743x: lan743x_csr_read() can be static
Date: Fri, 23 Feb 2018 02:02:34 +0800	[thread overview]
Message-ID: <20180222180234.GA42693@lkp-ib04> (raw)
In-Reply-To: <1519240015-10263-2-git-send-email-Bryan.Whitehead@microchip.com>


Fixes: 896121de80db ("lan743x: Add main source files for new lan743x driver")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 lan743x_main.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/ethernet/microchip/lan743x_main.c b/drivers/net/ethernet/microchip/lan743x_main.c
index 3de39e1..dd5ed86 100644
--- a/drivers/net/ethernet/microchip/lan743x_main.c
+++ b/drivers/net/ethernet/microchip/lan743x_main.c
@@ -65,12 +65,12 @@ static int lan743x_pci_init(struct lan743x_adapter *adapter,
 	return ret;
 }
 
-u32 lan743x_csr_read(struct lan743x_adapter *adapter, int offset)
+static u32 lan743x_csr_read(struct lan743x_adapter *adapter, int offset)
 {
 	return ioread32(&adapter->csr.csr_address[offset]);
 }
 
-void lan743x_csr_write(struct lan743x_adapter *adapter, int offset, u32 data)
+static void lan743x_csr_write(struct lan743x_adapter *adapter, int offset, u32 data)
 {
 	iowrite32(data, &adapter->csr.csr_address[offset]);
 }

  parent reply	other threads:[~2018-02-22 18:03 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-21 19:06 [PATCH v2 net-next 0/2] lan743x: Add new lan743x driver Bryan Whitehead
2018-02-21 19:06 ` [PATCH v2 net-next 1/2] lan743x: Add main source files for " Bryan Whitehead
2018-02-22  2:55   ` Andrew Lunn
2018-02-22 21:31     ` Bryan.Whitehead
2018-02-22 21:43       ` Florian Fainelli
2018-02-22 21:45       ` Andrew Lunn
2018-02-22 21:47         ` Andrew Lunn
2018-02-22 22:10           ` Bryan.Whitehead
2018-02-22 18:02   ` kbuild test robot
2018-02-22 18:02   ` kbuild test robot [this message]
2018-02-22 22:08   ` Florian Fainelli
2018-02-23 22:44     ` Bryan.Whitehead
2018-02-24  2:06       ` Andrew Lunn
2018-02-26  5:41         ` Bryan.Whitehead
2018-02-26 17:25           ` Andrew Lunn
2018-02-26 17:35             ` Bryan.Whitehead
2018-02-21 19:06 ` [PATCH v2 net-next 2/2] lan743x: Update MAINTAINERS to include " Bryan Whitehead

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=20180222180234.GA42693@lkp-ib04 \
    --to=lkp@intel.com \
    --cc=Bryan.Whitehead@microchip.com \
    --cc=UNGLinuxDriver@microchip.com \
    --cc=davem@davemloft.net \
    --cc=kbuild-all@01.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 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).