diff options
author | Mike Lothian <mike@fireburn.co.uk> | 2022-05-04 17:50:09 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-05-05 16:50:11 -0400 |
commit | 0a8c5ec66a26cc0a6b0b7e760e5bf66872877541 (patch) | |
tree | 7d309b6217b35544a02289b84cede9c3987d091f /drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | |
parent | 26817fb7b066b21c66cd41d75ed2137e046045be (diff) | |
download | linux-0a8c5ec66a26cc0a6b0b7e760e5bf66872877541.tar.bz2 |
drm/amdgpu/gfx11: Add missing break
This stops clang complaining:
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c:5895:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
default:
^
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c:5895:2: note: insert 'break;' to avoid fall-through
default:
^
break;
Signed-off-by: Mike Lothian <mike@fireburn.co.uk>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c index 2a96b4f302df..7a2fa4a0fdb6 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c @@ -5886,6 +5886,7 @@ static int gfx_v11_0_set_priv_inst_fault_state(struct amdgpu_device *adev, WREG32_FIELD15_PREREG(GC, 0, CP_INT_CNTL_RING0, PRIV_INSTR_INT_ENABLE, state == AMDGPU_IRQ_STATE_ENABLE ? 1 : 0); + break; default: break; } |