Re: [PATCH v3] arcnet: Add NULL check in com20020pci_probe()

From: patchwork-bot+netdevbpf
Date: Fri Apr 04 2025 - 10:42:31 EST


Hello:

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

On Wed, 2 Apr 2025 21:50:36 +0800 you wrote:
> devm_kasprintf() returns NULL when memory allocation fails. Currently,
> com20020pci_probe() does not check for this case, which results in a
> NULL pointer dereference.
>
> Add NULL check after devm_kasprintf() to prevent this issue and ensure
> no resources are left allocated.
>
> [...]

Here is the summary with links:
- [v3] arcnet: Add NULL check in com20020pci_probe()
https://git.kernel.org/netdev/net/c/fda8c491db2a

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