[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <171833164847.271429.16176301177294117604.b4-ty@oracle.com>
Date: Thu, 13 Jun 2024 22:23:01 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: linux-scsi@...r.kernel.org, Joel Slebodnick <jslebodn@...hat.com>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
linux-kernel@...r.kernel.org, alim.akhtar@...sung.com,
avri.altman@....com, bvanassche@....org,
James.Bottomley@...senPartnership.com, peter.wang@...iatek.com,
manivannan.sadhasivam@...aro.org, ahalaney@...hat.com,
beanhuo@...ron.com
Subject: Re: [PATCH] scsi: ufs: core: Free memory allocated for model before reinit
On Thu, 13 Jun 2024 14:27:28 -0400, Joel Slebodnick wrote:
> Under the conditions that a device is to be reinitialized within
> ufshcd_probe_hba, the device must first be fully reset.
>
> Resetting the device should include freeing U8 model (member of
> dev_info) but does not, and this causes a memory leak.
> ufs_put_device_desc is responsible for freeing model.
>
> [...]
Applied to 6.10/scsi-fixes, thanks!
[1/1] scsi: ufs: core: Free memory allocated for model before reinit
https://git.kernel.org/mkp/scsi/c/135c6eb27a85
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists