]> asedeno.scripts.mit.edu Git - linux.git/commit
scsi: ufs: Print uic error history in time order
authorStanley Chu <stanley.chu@mediatek.com>
Mon, 28 Jan 2019 14:04:26 +0000 (22:04 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 5 Feb 2019 02:53:17 +0000 (21:53 -0500)
commit27752647f88a1b03019e03f21f32b60452af7d4b
tree36ccd21839c18c2c2f6be6e1c1248707381df4df
parent47eefded1f70c1b6c77bee18bd1bf5d17642dcb9
scsi: ufs: Print uic error history in time order

uic errors are currently printed out of time order.

Make things more readable by printing logs in time order, and printing
"No record" if history is empty.

Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Reviewed-by: Bean Huo <beanhuo@micron.com>
Tested-by: Bean Huo <beanhuo@micron.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufshcd.c