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

patchwork-bot+netdevbpf
2024-03-26T03:10:30Z

Hello:

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

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.