Re: [PATCH net v4 7/8] net: dsa: b53: harden mirror register programming
From: Florian Fainelli
Date: Thu Nov 12 2026 - 13:16:07 EST
On 11/12/26 09:19, Jakub Kicinski wrote:
On Mon, 9 Nov 2026 19:50:17 -0800 Florian Fainelli wrote:
--- a/drivers/net/dsa/b53/b53_priv.h
+++ b/drivers/net/dsa/b53/b53_priv.h
@@ -548,6 +548,7 @@ int b53_mdb_add(struct dsa_switch *ds, int port,
int b53_mdb_del(struct dsa_switch *ds, int port,
const struct switchdev_obj_port_mdb *mdb,
struct dsa_db db);
+int b53_mirror_init(struct dsa_switch *ds);
this needs to go to patch 6, otherwise there's a transient:
drivers/net/dsa/b53/b53_common.c:2607:5: warning: no previous prototype for function 'b53_mirror_init' [-Wmissing-prototypes]
2607 | int b53_mirror_init(struct dsa_switch *ds)
| ^
Ah my bad, v5 on its way.
--
Florian