From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [RFC PATCH frank-w-bpi-r2-4.14] net: dsa: mt7530: mt7531_sgmii_restart_an() can be static
Date: Wed, 11 Dec 2019 04:54:55 +0800 [thread overview]
Message-ID: <20191210205454.vhy2twn6bis4vto4@4978f4969bb8> (raw)
In-Reply-To: <201912110409.Va4A6TKw%lkp@intel.com>
[-- Attachment #1: Type: text/plain, Size: 721 bytes --]
Fixes: 604beb561a74 ("net: dsa: mt7530: Add the support of MT7531 switch")
Signed-off-by: kbuild test robot <lkp@intel.com>
---
mt7530.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/dsa/mt7530.c b/drivers/net/dsa/mt7530.c
index 4bee04d75b496..34a30e5fe48ec 100644
--- a/drivers/net/dsa/mt7530.c
+++ b/drivers/net/dsa/mt7530.c
@@ -2142,7 +2142,7 @@ static void mt753x_phylink_mac_config(struct dsa_switch *ds, int port,
mt7530_write(priv, MT7530_PMCR_P(port), mcr_new);
}
-void mt7531_sgmii_restart_an(struct dsa_switch *ds, int port)
+static void mt7531_sgmii_restart_an(struct dsa_switch *ds, int port)
{
struct mt7530_priv *priv = ds->priv;
u32 val;
next prev parent reply other threads:[~2019-12-10 20:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-10 20:54 [frank-w-bpi-r2-4.14:5.5-r64-netnext 4/9] drivers/net/dsa/mt7530.c:2145:6: sparse: sparse: symbol 'mt7531_sgmii_restart_an' was not declared. Should it be static? kbuild test robot
2019-12-10 20:54 ` kbuild test robot [this message]
2020-07-07 18:04 [frank-w-bpi-r2-4.14:5.8-r64 7/24] drivers/net/dsa/mt7530.c:2088:6: sparse: sparse: symbol 'mt7531_sgmii_restart_an' was not declared. Should it be kernel test robot
2020-07-07 18:04 ` [RFC PATCH frank-w-bpi-r2-4.14] net: dsa: mt7530: mt7531_sgmii_restart_an() can be static kernel test robot
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=20191210205454.vhy2twn6bis4vto4@4978f4969bb8 \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.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.