scsi: ufs: Print real incorrect request response code
If UFS device responds an unknown request response code, we can not know what it was via logs because the code is replaced by "DID_ERROR << 16" before log printing. Fix this to provide precise request response code information for easier issue breakdown. Signed-off-by: Stanley Chu <stanley.chu@mediatek.com> Reviewed-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
21112e13cc
commit
e0347d894a
|
@ -4704,10 +4704,10 @@ ufshcd_transfer_rsp_status(struct ufs_hba *hba, struct ufshcd_lrb *lrbp)
|
|||
"Reject UPIU not fully implemented\n");
|
||||
break;
|
||||
default:
|
||||
result = DID_ERROR << 16;
|
||||
dev_err(hba->dev,
|
||||
"Unexpected request response code = %x\n",
|
||||
result);
|
||||
result = DID_ERROR << 16;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue