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

From
patchwork-bot+netdevbpf@kernel.org
Date
2026-06-04 02:20:24
Also in
lkml
Reply to
Rosen Penev, 2026-06-01
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski [off-list ref]:

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

Thread (3 messages) 3 messages, 3 authors, last reply 2026-06-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help