Re: [PATCH] macsec: Fix invalid error code set
From: patchwork-bot+netdevbpf
Date: Fri Nov 18 2022 - 22:54:28 EST
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Fri, 18 Nov 2022 09:12:49 +0800 you wrote:
> 'ret' is defined twice in macsec_changelink(), when it is set in macsec_is_offloaded
> case, it will be invalid before return.
>
> Fixes: 3cf3227a21d1 ("net: macsec: hardware offloading infrastructure")
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
> ---
> drivers/net/macsec.c | 1 -
> 1 file changed, 1 deletion(-)
Here is the summary with links:
- macsec: Fix invalid error code set
https://git.kernel.org/netdev/net/c/7cef6b73fba9
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html