Re: [PATCH net] net: pse-pd: fix sign on -ENOENT check in of_load_pse_pis()

From: patchwork-bot+netdevbpf

Date: Tue May 19 2026 - 20:50:17 EST


Hello:

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

On Fri, 15 May 2026 14:31:03 +0000 you wrote:
> of_count_phandle_with_args() returns the count on success and a negative
> errno on failure, including -ENOENT when the "pairsets" property is
> absent. The existing comparison in of_load_pse_pis() checks against
> ENOENT (positive 2) instead of -ENOENT, so the branch is taken for any
> error return: legitimate DTs that omit "pairsets" trigger a spurious
> "wrong number of pairsets" error and probe fails with -EINVAL.
>
> [...]

Here is the summary with links:
- [net] net: pse-pd: fix sign on -ENOENT check in of_load_pse_pis()
https://git.kernel.org/netdev/net/c/33d35975cbea

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