Re: [PATCH net v3] fsl/fman: Free init resources on KeyGen failure in fman_init()

From: Jakub Kicinski

Date: Wed Jun 24 2026 - 22:48:23 EST


On Thu, 25 Jun 2026 08:48:34 +0800 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.

Please slow down. You're sending a lot of low value patches.
Please do not have more than 5 outstanding "active" networking
patches under name at any given time:

https://patchwork.kernel.org/project/netdevbpf/list/?submitter=215341