]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Fix compile warning
authorRex Zhu <Rex.Zhu@amd.com>
Mon, 20 Aug 2018 12:19:18 +0000 (20:19 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:11:11 +0000 (11:11 -0500)
commitc253f535bd7f634ffd6769a64905a8ac1a1df3f4
treebeaa47d83a3e2f9d88842f705cde361ef25b5207
parent20128fa83720e448d12cda81b8297780fee9054d
drm/amdgpu: Fix compile warning

In function ‘gfx_v9_0_check_fw_write_wait’:
warning: enumeration value ‘CHIP_TAHITI’ not handled in switch [-Wswitch]

Always add default case in case there is no match

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c