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

From: patchwork-bot+netdevbpf
Date: Tue Aug 31 2021 - 07:40:11 EST


Hello:

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

On Tue, 31 Aug 2021 16:40:18 +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/ethernet/wiznet/w5100.c | 2 ++
> 1 file changed, 2 insertions(+)

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

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