Netdev Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH net] net: dsa: sja1105: unregister the MDIO buses during teardown
@ 2021-08-11 11:59 Vladimir Oltean
2021-08-12 8:38 ` Florian Fainelli
2021-08-12 10:00 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Vladimir Oltean @ 2021-08-11 11:59 UTC (permalink / raw)
To: netdev, Jakub Kicinski, David S. Miller
Cc: Florian Fainelli, Andrew Lunn, Vivien Didelot, Vladimir Oltean
The call to sja1105_mdiobus_unregister is present in the error path but
absent from the main driver unbind path.
Fixes: 5a8f09748ee7 ("net: dsa: sja1105: register the MDIO buses for 100base-T1 and 100base-TX")
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
---
drivers/net/dsa/sja1105/sja1105_main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/dsa/sja1105/sja1105_main.c b/drivers/net/dsa/sja1105/sja1105_main.c
index b188a80eeec6..49eb0ac41b7d 100644
--- a/drivers/net/dsa/sja1105/sja1105_main.c
+++ b/drivers/net/dsa/sja1105/sja1105_main.c
@@ -3187,6 +3187,7 @@ static void sja1105_teardown(struct dsa_switch *ds)
}
sja1105_devlink_teardown(ds);
+ sja1105_mdiobus_unregister(ds);
sja1105_flower_teardown(ds);
sja1105_tas_teardown(ds);
sja1105_ptp_clock_unregister(ds);
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH net] net: dsa: sja1105: unregister the MDIO buses during teardown
2021-08-11 11:59 [PATCH net] net: dsa: sja1105: unregister the MDIO buses during teardown Vladimir Oltean
@ 2021-08-12 8:38 ` Florian Fainelli
2021-08-12 10:00 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Florian Fainelli @ 2021-08-12 8:38 UTC (permalink / raw)
To: Vladimir Oltean, netdev, Jakub Kicinski, David S. Miller
Cc: Andrew Lunn, Vivien Didelot, Vladimir Oltean
On 8/11/2021 4:59 AM, Vladimir Oltean wrote:
> The call to sja1105_mdiobus_unregister is present in the error path but
> absent from the main driver unbind path.
>
> Fixes: 5a8f09748ee7 ("net: dsa: sja1105: register the MDIO buses for 100base-T1 and 100base-TX")
> Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
--
Florian
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net] net: dsa: sja1105: unregister the MDIO buses during teardown
2021-08-11 11:59 [PATCH net] net: dsa: sja1105: unregister the MDIO buses during teardown Vladimir Oltean
2021-08-12 8:38 ` Florian Fainelli
@ 2021-08-12 10:00 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-08-12 10:00 UTC (permalink / raw)
To: Vladimir Oltean
Cc: netdev, kuba, davem, f.fainelli, andrew, vivien.didelot, olteanv
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Wed, 11 Aug 2021 14:59:45 +0300 you wrote:
> The call to sja1105_mdiobus_unregister is present in the error path but
> absent from the main driver unbind path.
>
> Fixes: 5a8f09748ee7 ("net: dsa: sja1105: register the MDIO buses for 100base-T1 and 100base-TX")
> Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
> ---
> drivers/net/dsa/sja1105/sja1105_main.c | 1 +
> 1 file changed, 1 insertion(+)
Here is the summary with links:
- [net] net: dsa: sja1105: unregister the MDIO buses during teardown
https://git.kernel.org/netdev/net/c/700fa08da43e
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-08-12 10:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-11 11:59 [PATCH net] net: dsa: sja1105: unregister the MDIO buses during teardown Vladimir Oltean
2021-08-12 8:38 ` Florian Fainelli
2021-08-12 10:00 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).