]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/pm: Fix fall-through warning for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 4 Jun 2021 05:06:13 +0000 (00:06 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 8 Jun 2021 18:04:46 +0000 (14:04 -0400)
commitbf2f8d6e4ab4d003ac3e701ff748658d631f4743
treefe1401f921c3bacf5eeb8f4e51d82d437b3a27b8
parentb33f6b62ff3f42433d01eac0a5d2521b587cbc51
drm/amd/pm: Fix fall-through warning for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning
by explicitly adding a break statement instead of letting the code fall
through to the next case.

Link: https://github.com/KSPP/linux/issues/115
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu10_hwmgr.c