]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita2c3b142914e591a9ac196771ce97a01b3b9df97
tree0facc0c6006d3a5b7e163eefb0b3013e424175f8
parentcb7e957ec06e0e5f30171788295bfb354b546f6e
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