From: Paolo Abeni <pabeni@redhat.com>
To: Haoxiang Li <haoxiang_li2024@163.com>,
madalin.bucur@nxp.com, sean.anderson@linux.dev,
andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com,
kuba@kernel.org, florinel.iordache@nxp.com
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
stable@kernel.org, Pavan Chebbi <pavan.chebbi@broadcom.com>,
Breno Leitao <leitao@debian.org>
Subject: Re: [PATCH net v3] fsl/fman: Free init resources on KeyGen failure in fman_init()
Date: Tue, 30 Jun 2026 18:00:32 +0200 [thread overview]
Message-ID: <08ae081f-3d4a-49b0-8cdc-2c53935de31a@redhat.com> (raw)
In-Reply-To: <20260625004834.3394389-1-haoxiang_li2024@163.com>
On 6/25/26 2:48 AM, Haoxiang Li wrote:
> fman_muram_alloc() allocates initialization resources before
> initializing the KeyGen block. If keygen_init() fails, the
> function returns -EINVAL directly and leaves those resources
> allocated. Free the initialization resources before returning
> from the KeyGen failure path.
>
> Fixes: 7472f4f281d0 ("fsl/fman: enable FMan Keygen")
> Cc: stable@kernel.org
> Signed-off-by: Haoxiang Li <haoxiang_li2024@163.com>
> Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
> Reviewed-by: Breno Leitao <leitao@debian.org>
The PW bot is on holiday, no automated notifications for a while.
Applied, thanks!
/P
prev parent reply other threads:[~2026-06-30 16:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-25 0:48 [PATCH net v3] fsl/fman: Free init resources on KeyGen failure in fman_init() Haoxiang Li
2026-06-25 2:48 ` Jakub Kicinski
2026-06-30 16:00 ` Paolo Abeni [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=08ae081f-3d4a-49b0-8cdc-2c53935de31a@redhat.com \
--to=pabeni@redhat.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=florinel.iordache@nxp.com \
--cc=haoxiang_li2024@163.com \
--cc=kuba@kernel.org \
--cc=leitao@debian.org \
--cc=linux-kernel@vger.kernel.org \
--cc=madalin.bucur@nxp.com \
--cc=netdev@vger.kernel.org \
--cc=pavan.chebbi@broadcom.com \
--cc=sean.anderson@linux.dev \
--cc=stable@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox