Messages in this thread | | | Subject | Re: [PATCH net-next v2] net: mscc: ocelot: check return value after calling platform_get_resource() | From | patchwork-bot+netdevbpf@kernel ... | Date | Mon, 07 Jun 2021 21:10:05 +0000 |
| |
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@huawei.com> > --- > 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
| |