Re: [PATCH net v3] net: dsa: bcm_sf2: fix missing clk_disable_unprepare() in error paths
From: patchwork-bot+netdevbpf
Date: Thu Mar 19 2026 - 12:52:42 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Wed, 18 Mar 2026 08:42:12 +0000 you wrote:
> Smatch reports:
> drivers/net/dsa/bcm_sf2.c:997 bcm_sf2_sw_resume() warn:
> 'priv->clk' from clk_prepare_enable() not released on lines: 983,990.
>
> The clock enabled by clk_prepare_enable() in bcm_sf2_sw_resume()
> is not released if bcm_sf2_sw_rst() or bcm_sf2_cfp_resume() fails.
>
> [...]
Here is the summary with links:
- [net,v3] net: dsa: bcm_sf2: fix missing clk_disable_unprepare() in error paths
https://git.kernel.org/netdev/net/c/b48731849609
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html