]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4382c8a5600ae39c647b9c015102027881c6b4f3
treec1c0f626fe00c4e07200f8b132bb9b546f23e8b7
parent22771420c0a533a3117c91c0b10ba0c23a8c456e
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: f4a363376c7f ("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