Re: [PATCH net] dpll: fix device-id-get and pin-id-get to return errors properly

From: patchwork-bot+netdevbpf

Date: Tue Oct 28 2025 - 21:40:29 EST


Hello:

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

On Fri, 24 Oct 2025 21:07:33 +0200 you wrote:
> The device-id-get and pin-id-get handlers were ignoring errors from
> the find functions and sending empty replies instead of returning
> error codes to userspace.
>
> When dpll_device_find_from_nlattr() or dpll_pin_find_from_nlattr()
> returned an error (e.g., -EINVAL for "multiple matches" or -ENODEV
> for "not found"), the handlers checked `if (!IS_ERR(ptr))` and
> skipped adding the device/pin handle to the message, but then still
> sent the empty message as a successful reply.
>
> [...]

Here is the summary with links:
- [net] dpll: fix device-id-get and pin-id-get to return errors properly
https://git.kernel.org/netdev/net/c/36fedc44e37e

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html