Re: [PATCH] sfc: Fix an error handling path in efx_pci_probe()

From: patchwork-bot+netdevbpf
Date: Tue Nov 01 2022 - 12:30:38 EST


Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Sat, 29 Oct 2022 22:57:11 +0200 you wrote:
> If an error occurs after the first kzalloc() the corresponding memory
> allocation is never freed.
>
> Add the missing kfree() in the error handling path, as already done in the
> remove() function.
>
> Fixes: 7e773594dada ("sfc: Separate efx_nic memory from net_device memory")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
>
> [...]

Here is the summary with links:
- sfc: Fix an error handling path in efx_pci_probe()
https://git.kernel.org/netdev/net/c/6c412da54c80

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