Re: [PATCH v2] scsi: ufs: ufshpb: Fix possible memory leak

From: Martin K. Petersen
Date: Fri Aug 27 2021 - 22:32:51 EST


On Mon, 23 Aug 2021 18:07:14 +0900, Keoseong Park wrote:

> When HPB pinned region exists and mctx allocation for this region fails,
> memory leak is possible because memory is not released for the subregion
> table of the current region.
>
> So, change to free memory for the subregion table of the current region.
>
>
> [...]

Applied to 5.15/scsi-queue, thanks!

[1/1] scsi: ufs: ufshpb: Fix possible memory leak
https://git.kernel.org/mkp/scsi/c/6c9783e6296e

--
Martin K. Petersen Oracle Linux Engineering