[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20200402012548.GG8179@shao2-debian>
Date: Thu, 2 Apr 2020 09:25:48 +0800
From: kbuild test robot <lkp@...el.com>
To: Vladimir Oltean <olteanv@...il.com>
Cc: kbuild-all@...ts.01.org, andrew@...n.ch, f.fainelli@...il.com,
vivien.didelot@...il.com, davem@...emloft.net,
jakub.kicinski@...ronome.com, murali.policharla@...adcom.com,
stephen@...workplumber.org, jiri@...nulli.us, idosch@...sch.org,
kuba@...nel.org, nikolay@...ulusnetworks.com,
netdev@...r.kernel.org
Subject: [RFC PATCH] net: dsa: dsa_bridge_mtu_normalization() can be static
Fixes: f41071407c85 ("net: dsa: implement auto-normalization of MTU for bridge hardware datapath")
Signed-off-by: kbuild test robot <lkp@...el.com>
---
slave.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/dsa/slave.c b/net/dsa/slave.c
index 8ced165a79084..624f54750dbb3 100644
--- a/net/dsa/slave.c
+++ b/net/dsa/slave.c
@@ -1261,7 +1261,7 @@ static void dsa_hw_port_list_free(struct list_head *hw_port_list)
}
/* Make the hardware datapath to/from @dev limited to a common MTU */
-void dsa_bridge_mtu_normalization(struct dsa_port *dp)
+static void dsa_bridge_mtu_normalization(struct dsa_port *dp)
{
struct list_head hw_port_list;
struct dsa_switch_tree *dst;
Powered by blists - more mailing lists