Re: [PATCH net] net: ibm: emac: fix unchecked platform_get_irq return value

From: patchwork-bot+netdevbpf

Date: Wed Jun 03 2026 - 22:23:51 EST


Hello:

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

On Sun, 31 May 2026 21:02:00 -0700 you wrote:
> platform_get_irq() returns a negative errno on failure.
> Commit a598f66d9169 replaced irq_of_parse_and_map() (which returns 0
> on failure) with platform_get_irq() but dropped the error check.
> Without it, a negative IRQ number is passed to devm_request_irq(),
> which fails with -EINVAL instead of propagating the real error
> from platform_get_irq().
>
> [...]

Here is the summary with links:
- [net] net: ibm: emac: fix unchecked platform_get_irq return value
https://git.kernel.org/netdev/net-next/c/1681cb1bde05

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