Re: [PATCH] scsi: lpfc: Fix memory leak in lpfc_sli4_driver_resource_setup()
From: Justin Tee
Date: Fri Jul 10 2026 - 17:27:15 EST
Hi Markus,
> How do you think about to move the mempool_free() call directly behind
> the statement “rc = lpfc_get_sli4_parameters(phba, mboxq);”?
> https://elixir.bootlin.com/linux/v7.2-rc2/source/drivers/scsi/lpfc/lpfc_init.c#L8180-L8191
I think you mean after the "rc = lpfc_get_sli4_parameters(phba,
mboxq);" statement, but yes completely agreed that suggestion is
better.
Thanks,
Justin