]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: Fix missing break in switch statement
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Sun, 21 Jul 2019 21:41:37 +0000 (16:41 -0500)
committerGustavo A. R. Silva <gustavo@embeddedor.com>
Fri, 26 Jul 2019 01:12:38 +0000 (20:12 -0500)
commit22771420c0a533a3117c91c0b10ba0c23a8c456e
treeaa825214aa0ab4b2c43fc2ac6dfcba174305d59f
parent11f077a91a4eb60fe5e0895c7b243ab203f8b9c2
drm/amdkfd: Fix missing break in switch statement

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

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

Fixes: cb36a65b3cb0 ("drm/amdkfd: Add navi10 support to amdkfd. (v3)")
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/amdkfd/kfd_crat.c