Adding name filed back to ras_common_if to work around error injection failure with amdgpuras tool. Change-Id: I9d181a4153b055e22ac6adeb3b51a521c8c2793b Signed-off-by: Candice Li <candice.li@xxxxxxx> Reviewed-by: John Clements <john.clements@xxxxxxx> --- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h index abc5710898e803..5b5163357fcb61 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h @@ -309,6 +309,7 @@ struct ras_common_if { enum amdgpu_ras_block block; enum amdgpu_ras_error_type type; uint32_t sub_block_index; + char name[32]; }; struct amdgpu_ras { -- 2.17.1