Re: [PATCH net] net: dsa: felix: don't deinitialize unused ports

2021-02-16 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Tue, 16 Feb 2021 13:14:46 +0200 you wrote: > From: Vladimir Oltean > > ocelot_init_port is called only if dsa_is_unused_port == false, however > ocelot_deinit_port is called unconditionally. This causes a warning in >

[PATCH net] net: dsa: felix: don't deinitialize unused ports

2021-02-16 Thread Vladimir Oltean
From: Vladimir Oltean ocelot_init_port is called only if dsa_is_unused_port == false, however ocelot_deinit_port is called unconditionally. This causes a warning in the skb_queue_purge inside ocelot_deinit_port saying that the spin lock protecting ocelot_port->tx_skbs was not initialized. Fixes: