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

patchwork-bot+netdevbpf
2025-10-29T01:40:29Z

Hello:

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

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.