Subject: Re: [PATCH net] net: mdio: Check regmap pointer returned by device_node_to_regmap()

From: [email-masked]
Date: Tue, 04 Nov 2025 01:10:19 +0000

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <[email-masked]>:

On Fri, 31 Oct 2025 09:15:53 -0700 you wrote:
> The call to device_node_to_regmap() in airoha_mdio_probe() can return
> an ERR_PTR() if regmap initialization fails. Currently, the driver
> stores the pointer without validation, which could lead to a crash
> if it is later dereferenced.
> 
> Add an IS_ERR() check and return the corresponding error code to make
> the probe path more robust.
> 
> [...]

Here is the summary with links:
  - [net] net: mdio: Check regmap pointer returned by device_node_to_regmap()
    https://git.kernel.org/netdev/net/c/b2b526c2cf57

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