Thread (3 messages) 3 messages, 3 authors, 2026-06-21

Re: [PATCHv2] net: emac: Fix NULL pointer dereference in emac_probe

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-06-21 22:10:18
Also in: lkml

Hello:

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

On Wed, 17 Jun 2026 19:34:05 -0700 you wrote:
Move devm_request_irq() after devm_platform_ioremap_resource() so that
dev->emacp is mapped before the interrupt handler can fire.  An early
interrupt hitting emac_irq() would dereference the NULL dev->emacp and
crash.

Also remove redundant error message. devm_platform_ioremap_resource()
already returns an error message with dev_err_probe().

[...]
Here is the summary with links:
  - [PATCHv2] net: emac: Fix NULL pointer dereference in emac_probe
    https://git.kernel.org/netdev/net/c/f623d38fe6c4

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help