Re: [PATCH net] net: dsa: hellcreek: fix missing error handling in LED registration

From: patchwork-bot+netdevbpf

Date: Fri Nov 14 2025 - 21:02:23 EST


Hello:

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

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