diff options
author | Shiju Jose <[email protected]> | 2017-10-24 23:51:39 +0800 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2017-10-25 08:21:04 -0400 |
commit | 729428ca906140a59d94768ac8c8d7a8494c064b (patch) | |
tree | 239c8a4ebdf9132fa176f60145109923f3ce2d02 /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c | |
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 <[email protected]>
Signed-off-by: John Garry <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions