[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201129125159.GA24820@45a3048463a8>
Date: Sun, 29 Nov 2020 20:51:59 +0800
From: kernel test robot <lkp@...el.com>
To: Jean Pihet <jean.pihet@...oldbits.com>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: kbuild-all@...ts.01.org,
Ryan Barnett <ryan.barnett@...kwellcollins.com>,
Conrad Ratschan <conrad.ratschan@...kwellcollins.com>,
Hugo Cornelis <hugo.cornelis@...ensium.com>,
Arnout Vandecappelle <arnout.vandecappelle@...ensium.com>,
Jean Pihet <jean.pihet@...oldbits.com>
Subject: [RFC PATCH] net: dsa: ksz8795: ksz8795_adjust_link() can be static
Reported-by: kernel test robot <lkp@...el.com>
Signed-off-by: kernel test robot <lkp@...el.com>
---
ksz8795.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/dsa/microchip/ksz8795.c b/drivers/net/dsa/microchip/ksz8795.c
index 09c1173cc6073c..834a8dc251adba 100644
--- a/drivers/net/dsa/microchip/ksz8795.c
+++ b/drivers/net/dsa/microchip/ksz8795.c
@@ -1111,7 +1111,7 @@ static int ksz8795_setup(struct dsa_switch *ds)
return 0;
}
-void ksz8795_adjust_link(struct dsa_switch *ds, int port,
+static void ksz8795_adjust_link(struct dsa_switch *ds, int port,
struct phy_device *phydev)
{
struct ksz_device *dev = ds->priv;
Powered by blists - more mailing lists