commit | 2b3833510d7f85120ba4dbaf2d5575415f09d27b | [log] [tgz] |
---|---|---|
author | John Garry <john.garry@huawei.com> | Fri Aug 11 00:09:30 2017 +0800 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Thu Aug 10 20:15:02 2017 -0400 |
tree | e811deaa5bfa205033394e66b5c639205ceb1492 | |
parent | c52108c61bd3e97495858e6c7423d312093fcfba [diff] |
scsi: hisi_sas: use array for v2 hw ECC errors The code to print ECC errors in v2 hw driver is very repetitive. This patch condensed the code by looping an array of errors. Signed-off-by: John Garry <john.garry@huawei.com> Signed-off-by: Shiju Jose <shiju.jose@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>