drm/amdgpu/gfx10: Fix missing break in switch statement
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Sun, 21 Jul 2019 22:37:33 +0000 (17:37 -0500)
committerGustavo A. R. Silva <gustavo@embeddedor.com>
Fri, 26 Jul 2019 01:12:50 +0000 (20:12 -0500)
commitd64062b57eeb58d4928aed945515bf53f7944913
treec1c0f626fe00c4e07200f8b132bb9b546f23e8b7
parent737298d18836fd14b8820de6504536c998986bcd
drm/amdgpu/gfx10: Fix missing break in switch statement

Add missing break statement in order to prevent the code from falling
through to case AMDGPU_IRQ_STATE_ENABLE.

This bug was found thanks to the ongoing efforts to enable
-Wimplicit-fallthrough.

Fixes: a644d85a5cd4 ("drm/amdgpu: add gfx v10 implementation (v10)")
Cc: stable@vger.kernel.org
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c