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

From: patchwork-bot+netdevbpf
Date: Thu Jun 10 2021 - 17:00:18 EST


Hello:

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

On Thu, 10 Jun 2021 16:02:43 +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>
> ---
> drivers/net/fjes/fjes_main.c | 4 ++++
> 1 file changed, 4 insertions(+)

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

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