commit | 729428ca906140a59d94768ac8c8d7a8494c064b | [log] [tgz] |
---|---|---|
author | Shiju Jose <shiju.jose@huawei.com> | Tue Oct 24 23:51:39 2017 +0800 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Wed Oct 25 08:21:04 2017 -0400 |
tree | 239c8a4ebdf9132fa176f60145109923f3ce2d02 | |
parent | 6ba0fbc35aa9f3bc8c12be3b4047055c9ce2ac92 [diff] |
scsi: hisi_sas: use array for v2 hw AXI errors The code to print AXI errors in v2 hw driver is repetitive. This patch condenses the code by looping an array of errors. Also, a formatting error in one_bit_ecc_errors[] and multi_bit_ecc_errors[] is fixed. Signed-off-by: Shiju Jose <shiju.jose@huawei.com> Signed-off-by: John Garry <john.garry@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>