Re: [PATCH] scsi: ufs: Fix wrong value printed in unexpected UPIU response case

From: Martin K. Petersen

Date: Mon Jun 08 2026 - 21:41:51 EST


On Wed, 27 May 2026 18:21:34 +0900, Chanwoo Lee wrote:

> In ufshcd_transfer_rsp_status(), the default case of the inner switch
> statement prints the UPIU response code when an unexpected response is
> received. However, the code was printing 'result' variable which is
> always 0 at that point, making the error message useless for debugging.
>
> Fix this by printing the actual UPIU response code returned by
> ufshcd_get_req_rsp().
>
> [...]

Applied to 7.2/scsi-queue, thanks!

[1/1] scsi: ufs: Fix wrong value printed in unexpected UPIU response case
https://git.kernel.org/mkp/scsi/c/2483ae0a5623

--
Martin K. Petersen