Re: [PATCH RESEND net-next v2] net: enetc: Remove error print for devm_add_action_or_reset()
From: patchwork-bot+netdevbpf
Date: Wed Aug 13 2025 - 20:40:44 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Tue, 12 Aug 2025 14:13:58 +0200 you wrote:
> When `devm_add_action_or_reset()` fails, it is due to a failed memory
> allocation and will thus return `-ENOMEM`. `dev_err_probe()` doesn't do
> anything when error is `-ENOMEM`. Therefore, remove the useless call to
> `dev_err_probe()` when `devm_add_action_or_reset()` fails, and just
> return the value instead.
>
> Signed-off-by: Waqar Hameed <waqar.hameed@xxxxxxxx>
>
> [...]
Here is the summary with links:
- [RESEND,net-next,v2] net: enetc: Remove error print for devm_add_action_or_reset()
https://git.kernel.org/netdev/net-next/c/3051f49b0e03
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html