[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <161007949338.9892.4671065272962496715.b4-ty@oracle.com>
Date: Thu, 7 Jan 2021 23:19:33 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Dinghao Liu <dinghao.liu@....edu.cn>, kjlu@....edu
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
"James E.J. Bottomley" <jejb@...ux.ibm.com>,
linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org
Subject: Re: [PATCH] [v2] scsi: scsi_debug: Fix memleak in scsi_debug_init
On Sat, 26 Dec 2020 14:15:03 +0800, Dinghao Liu wrote:
> When sdeb_zbc_model does not match BLK_ZONED_NONE,
> BLK_ZONED_HA or BLK_ZONED_HM, we should free sdebug_q_arr
> to prevent memleak. Also there is no need to execute
> sdebug_erase_store() on failure of sdeb_zbc_model_str().
Applied to 5.11/scsi-fixes, thanks!
[1/1] scsi: scsi_debug: Fix memleak in scsi_debug_init
https://git.kernel.org/mkp/scsi/c/3b01d7ea4dae
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists