Re: [PATCH net v3] net: ll_temac: platform_get_resource replaced by wrong function

From: patchwork-bot+netdevbpf
Date: Mon Mar 25 2024 - 23:11:00 EST


Hello:

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

On Thu, 21 Mar 2024 13:08:59 +0000 you wrote:
> The function platform_get_resource was replaced with
> devm_platform_ioremap_resource_byname and is called using 0 as name.
>
> This eventually ends up in platform_get_resource_byname in the call
> stack, where it causes a null pointer in strcmp.
>
> if (type == resource_type(r) && !strcmp(r->name, name))
>
> [...]

Here is the summary with links:
- [net,v3] net: ll_temac: platform_get_resource replaced by wrong function
https://git.kernel.org/netdev/net/c/3a38a829c8bc

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