scsi: ufs: Print real incorrect request response code
authorStanley Chu <stanley.chu@mediatek.com>
Mon, 15 Apr 2019 12:23:38 +0000 (20:23 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 16 Apr 2019 02:17:19 +0000 (22:17 -0400)
commite0347d894ae879a3cb8977ebca43eb04a5fae1c1
tree0facc0c6006d3a5b7e163eefb0b3013e424175f8
parent21112e13cc7aba49f68bdecb19306e610fe0c3bf
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>
drivers/scsi/ufs/ufshcd.c