Re: [PATCH] net: sfp: Always call `sfp_sm_mod_remove()` on remove
From: patchwork-bot+netdevbpf
Date: Thu Jun 06 2024 - 21:10:42 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Wed, 5 Jun 2024 10:42:51 +0200 you wrote:
> If the module is in SFP_MOD_ERROR, `sfp_sm_mod_remove()` will
> not be run. As a consequence, `sfp_hwmon_remove()` is not getting
> run either, leaving a stale `hwmon` device behind. `sfp_sm_mod_remove()`
> itself checks `sfp->sm_mod_state` anyways, so this check was not
> really needed in the first place.
>
> Signed-off-by: "Csókás, Bence" <csokas.bence@xxxxxxxxx>
>
> [...]
Here is the summary with links:
- net: sfp: Always call `sfp_sm_mod_remove()` on remove
https://git.kernel.org/netdev/net/c/e96b2933152f
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html