[lvc-project] [PATCH net] net: dsa: hellcreek: fix missing error handling in LED registration

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Sat Nov 15 05:01:51 MSK 2025


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba at kernel.org>:

On Thu, 13 Nov 2025 16:57:44 +0300 you wrote:
> The LED setup routine registered both led_sync_good
> and led_is_gm devices without checking the return
> values of led_classdev_register(). If either registration
> failed, the function continued silently, leaving the
> driver in a partially-initialized state and leaking
> a registered LED classdev.
> 
> [...]

Here is the summary with links:
  - [net] net: dsa: hellcreek: fix missing error handling in LED registration
    https://git.kernel.org/netdev/net/c/e6751b0b19a6

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





More information about the lvc-project mailing list