Re: [PATCH] octeontx2-pf: Fix a memleak otx2_sq_init

From: patchwork-bot+netdevbpf
Date: Sat Feb 03 2024 - 07:50:52 EST


Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Thu, 1 Feb 2024 20:47:13 +0800 you wrote:
> When qmem_alloc and pfvf->hw_ops->sq_aq_init fails, sq->sg should be
> freed to prevent memleak.
>
> Fixes: c9c12d339d93 ("octeontx2-pf: Add support for PTP clock")
> Signed-off-by: Zhipeng Lu <alexious@xxxxxxxxxx>
> ---
> .../ethernet/marvell/octeontx2/nic/otx2_common.c | 14 ++++++++++++--
> 1 file changed, 12 insertions(+), 2 deletions(-)

Here is the summary with links:
- octeontx2-pf: Fix a memleak otx2_sq_init
https://git.kernel.org/netdev/net/c/b09b58e31b0f

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