[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <168085201823.13885.16010992572875922038.git-patchwork-notify@kernel.org>
Date: Fri, 07 Apr 2023 07:20:18 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Harshit Mogalapalli <harshit.m.mogalapalli@...cle.com>
Cc: error27@...il.com, kernel-janitors@...r.kernel.org,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, mkl@...gutronix.de, leon@...nel.org,
keescook@...omium.org, robh@...nel.org,
wsa+renesas@...g-engineering.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] niu: Fix missing unwind goto in niu_alloc_channels()
Hello:
This patch was applied to netdev/net.git (main)
by David S. Miller <davem@...emloft.net>:
On Wed, 5 Apr 2023 23:31:18 -0700 you wrote:
> Smatch reports: drivers/net/ethernet/sun/niu.c:4525
> niu_alloc_channels() warn: missing unwind goto?
>
> If niu_rbr_fill() fails, then we are directly returning 'err' without
> freeing the channels.
>
> Fix this by changing direct return to a goto 'out_err'.
>
> [...]
Here is the summary with links:
- niu: Fix missing unwind goto in niu_alloc_channels()
https://git.kernel.org/netdev/net/c/8ce07be70345
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists