Re: [PATCH v1] scsi: ufs: core: Remove the ufshcd_release in ufshcd_err_handling_prepare
From: Martin K. Petersen
Date: Mon Feb 05 2024 - 21:09:52 EST
On Mon, 22 Jan 2024 17:33:24 +0900, SEO HOYOUNG wrote:
> If err_handler is performed in the suspend/resume situation, ufs_release
> can be called twice and active_reqs valid can be negative.
> This is because ufshcd_errhandling_prepare() and
> ufshcd_err_handling_unprepare() repeatedly release calls.
> Eventually, active_reqs have a value different from the intention.
> To prevent this, release duplication processing was removed.
>
> [...]
Applied to 6.8/scsi-fixes, thanks!
[1/1] scsi: ufs: core: Remove the ufshcd_release in ufshcd_err_handling_prepare
https://git.kernel.org/mkp/scsi/c/17e94b258541
--
Martin K. Petersen Oracle Linux Engineering