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

From: patchwork-bot+netdevbpf

Date: Sun Jun 21 2026 - 18:10:51 EST


Hello:

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

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