[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <149a576a-6a21-48c6-b121-b20c6173f7cb@web.de>
Date: Mon, 29 Dec 2025 10:09:04 +0100
From: Markus Elfring <Markus.Elfring@....de>
To: Jianhao Xu <jianhao.xu@....edu.cn>, Zilin Guan <zilin@....edu.cn>,
linux-scsi@...r.kernel.org, Justin Tee <justin.tee@...adcom.com>
Cc: LKML <linux-kernel@...r.kernel.org>, kernel-janitors@...r.kernel.org,
James Bottomley <James.Bottomley@...senPartnership.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
Paul Ely <paul.ely@...adcom.com>
Subject: Re: [PATCH 1/3] scsi: lpfc: Fix memory leak in
lpfc_config_port_post()
…
> Fix this by adding mempool_free() in the error path.
Please avoid duplicate source code here.
https://elixir.bootlin.com/linux/v6.19-rc2/source/drivers/scsi/lpfc/lpfc_init.c#L563-L564
See also:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.19-rc3#n262
Regards,
Markus
Powered by blists - more mailing lists