Re: [PATCH] scsi: ufs: Fix wrong value printed in unexpected UPIU response case
From: Martin K. Petersen
Date: Mon Jun 01 2026 - 22:00:59 EST
Chanwoo,
> 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-staging, thanks!
--
Martin K. Petersen