Commit 0a8c5ec6 authored by Mike Lothian's avatar Mike Lothian Committed by Alex Deucher

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: default avatarMike Lothian <mike@fireburn.co.uk>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 26817fb7
...@@ -5886,6 +5886,7 @@ static int gfx_v11_0_set_priv_inst_fault_state(struct amdgpu_device *adev, ...@@ -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, WREG32_FIELD15_PREREG(GC, 0, CP_INT_CNTL_RING0,
PRIV_INSTR_INT_ENABLE, PRIV_INSTR_INT_ENABLE,
state == AMDGPU_IRQ_STATE_ENABLE ? 1 : 0); state == AMDGPU_IRQ_STATE_ENABLE ? 1 : 0);
break;
default: default:
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment