Nathan Chancellor 968162204a drm/amdgpu: Fix implicit enum conversion in gfx_v9_4_ras_error_inject
Clang warns:

../drivers/gpu/drm/amd/amdgpu/gfx_v9_4.c:967:35: warning: implicit
conversion from enumeration type 'enum amdgpu_ras_block' to different
enumeration type 'enum ta_ras_block' [-Wenum-conversion]
        block_info.block_id = info->head.block;
                            ~ ~~~~~~~~~~~^~~~~
1 warning generated.

Use the function added in commit 828cfa29093f ("drm/amdgpu: Fix amdgpu
ras to ta enums conversion") that handles this conversion explicitly.

Fixes: 4c461d89db4f ("drm/amdgpu: add RAS support for the gfx block of Arcturus")
Link: https://github.com/ClangBuiltLinux/linux/issues/849
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-01-30 17:15:43 -05:00
..
2019-12-27 15:25:04 +10:00
2019-12-17 13:57:54 +01:00
2020-01-17 05:54:18 -08:00
2020-01-16 19:42:08 -08:00
2019-12-01 18:43:25 -08:00
2020-01-03 11:43:44 +10:00
2020-01-20 11:42:57 +10:00
2019-10-31 11:24:52 +01:00
2019-11-30 14:35:43 -08:00
2019-12-01 18:42:02 -08:00
2019-11-03 19:54:53 +01:00
2020-01-20 11:42:57 +10:00
2019-12-06 08:28:51 -08:00
2019-12-03 13:58:22 -08:00
2020-01-20 11:42:57 +10:00
2020-01-13 18:50:18 -08:00
2019-12-01 18:43:25 -08:00
2019-12-05 11:43:31 -08:00
2019-11-25 19:40:40 -08:00
2020-01-20 11:42:57 +10:00
2019-12-05 11:28:14 -08:00
2020-01-06 12:04:31 -08:00
2019-12-01 18:39:24 -08:00
2020-01-18 12:12:36 -08:00
2020-01-20 11:42:57 +10:00
2020-01-06 12:34:44 -08:00
2020-01-20 11:42:57 +10:00
2019-12-27 17:28:41 -08:00
2020-01-20 11:42:57 +10:00
2020-01-17 19:40:06 +01:00
2019-12-07 14:51:04 -08:00
2019-11-14 13:06:33 +08:00
2020-01-20 11:42:57 +10:00