Re: [PATCH net-next v2] net: mscc: ocelot: check return value after calling platform_get_resource()

From: patchwork-bot+netdevbpf
Date: Mon Jun 07 2021 - 17:10:17 EST


Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Sat, 5 Jun 2021 10:31:48 +0800 you wrote:
> It will cause null-ptr-deref if platform_get_resource() returns NULL,
> we need check the return value.
>
> Signed-off-by: Yang Yingliang <yangyingliang@xxxxxxxxxx>
> ---
> v2:
> add missing goto err_alloc_felix
>
> [...]

Here is the summary with links:
- [net-next,v2] net: mscc: ocelot: check return value after calling platform_get_resource()
https://git.kernel.org/netdev/net-next/c/f1fe19c2cb3f

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