summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChanwoo Lee <cw9316.lee@samsung.com>2026-05-27 12:21:34 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2026-06-02 04:59:00 +0300
commit2483ae0a56231a915c706411421c6c002a2bf83e (patch)
tree51fa3b131c2b93346ee69bc8d59c27e0fa19f91c /scripts
parent4cf752f6b99ab63506cde5a611d4219e97adbd84 (diff)
downloadlinux-2483ae0a56231a915c706411421c6c002a2bf83e.tar.xz
scsi: ufs: Fix wrong value printed in unexpected UPIU response case
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(). Fixes: 08108d31129a ("scsi: ufs: Improve type safety") Signed-off-by: Chanwoo Lee <cw9316.lee@samsung.com> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Link: https://patch.msgid.link/20260527092134.275887-1-cw9316.lee@samsung.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions