Re: [PATCH net-next] net: stmmac: dwmac-rk: split gmac_clk_enable into enable/disable
From: patchwork-bot+netdevbpf
Date: Thu Nov 19 2026 - 19:30:35 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Wed, 18 Nov 2026 02:25:03 +0800 you wrote:
> As the great Linus Torvalds once said in
> Documentation/process/coding-style.rst:
>
> "If you need more than 3 levels of indentation, you're screwed anyway,
> and should fix your program."
>
> The gmac_clk_enable() function previously used a 'bool enable' parameter
> to handle both clock enabling and disabling. This resulted in deeply
> nested if/else blocks, which made the error handling and rollback paths
> cumbersome and prone to bugs.
>
> [...]
Here is the summary with links:
- [net-next] net: stmmac: dwmac-rk: split gmac_clk_enable into enable/disable
https://git.kernel.org/netdev/net-next/c/bb7cdcfc80a9
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html