Re: [PATCH net-next v2] net: stmmac: Use str_enabled_disabled() helper
From: patchwork-bot+netdevbpf
Date: Tue Feb 18 2025 - 21:40:33 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Mon, 17 Feb 2025 23:58:33 +0800 you wrote:
> As kernel test robot reported, the following warning occurs:
>
> cocci warnings: (new ones prefixed by >>)
> >> drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c:582:6-8: opportunity for str_enabled_disabled(on)
>
> Replace ternary (condition ? "enabled" : "disabled") with
> str_enabled_disabled() from string_choices.h to improve readability,
> maintain uniform string usage, and reduce binary size through linker
> deduplication.
>
> [...]
Here is the summary with links:
- [net-next,v2] net: stmmac: Use str_enabled_disabled() helper
https://git.kernel.org/netdev/net-next/c/3a03f9ec5d33
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html