]> 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)
commit81431a2a89208f4c592e064269caef4f4054f207
treeaa825214aa0ab4b2c43fc2ac6dfcba174305d59f
parent80a70bcf1277250752e155ca705239b8e0664958
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: f6f8640b1fe8 ("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