[PATCH net,v2] net: stmmac: fix errno when create_singlethread_workqueue() fails

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Thu Dec 15 05:10:16 PST 2022


Hello:

This patch was applied to netdev/net.git (master)
by Paolo Abeni <pabeni at redhat.com>:

On Wed, 14 Dec 2022 16:01:17 +0800 you wrote:
> We should set the return value to -ENOMEM explicitly when
> create_singlethread_workqueue() fails in stmmac_dvr_probe(),
> otherwise we'll lose the error value.
> 
> Fixes: a137f3f27f92 ("net: stmmac: fix possible memory leak in stmmac_dvr_probe()")
> Signed-off-by: Gaosheng Cui <cuigaosheng1 at huawei.com>
> 
> [...]

Here is the summary with links:
  - [net,v2] net: stmmac: fix errno when create_singlethread_workqueue() fails
    https://git.kernel.org/netdev/net/c/2cb815cfc78b

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





More information about the linux-arm-kernel mailing list