]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ufs: Refine error history functions
authorStanley Chu <stanley.chu@mediatek.com>
Sat, 5 Dec 2020 11:58:59 +0000 (19:58 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 7 Dec 2020 22:51:49 +0000 (17:51 -0500)
commita2d8dfdf6a4314dc9af8c53da6f73b2ce31639e1
treefa516f9d38eb94d8aea7d898a37c54b82824b1fd
parent759f69c8b602648e60942082a8ba68add445fd50
scsi: ufs: Refine error history functions

The UFS error history does not only have "history of errors" but also a
log of some other events which are not defined as errors.

This patch fixes the confused naming of related functions and changes the
approach for updating and printing history in preparation of next patch.

This patch does not change any functionality.

Link: https://lore.kernel.org/r/20201205115901.26815-3-stanley.chu@mediatek.com
Reviewed-by: Asutosh Das <asutoshd@codeaurora.org>
Reviewed-by: Can Guo <cang@codeaurora.org>
Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufshcd.c
drivers/scsi/ufs/ufshcd.h