Re: [PATCH] scsi: ufs: core: Free memory allocated for model before reinit

From: Martin K. Petersen
Date: Thu Jun 13 2024 - 22:24:16 EST


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