Re: [PATCH v3 6/7] scsi: ufs: core: Fix double release in ufshcd_abort()
From: Stanley Jhu
Date: Tue Oct 20 2026 - 23:55:18 EST
On 10/20/26 1:13 PM, Bart Van Assche wrote:
> This change is incomplete. "err = SUCCESS" is missing above "goto
> release". Without this change, the SCSI error handler will escalate
> error handling unnecessarily to the next level.
Fixed in v4 by setting err = SUCCESS when
ufshcd_clear_outstanding_reqs() claims the tag. If the claim fails, a
concurrent ufshcd_poll() may still be completing the command, so the
handler keeps returning FAILED.