OSDN Git Service

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>
Fri, 4 Jun 2021 20:03:04 +0000 (16:03 -0400)
commitfe9bb984b581f75f248b8b4863620bb0ed3272a6
treea5980c8237896d0677fd9d0ed10aa2d7e175cad0
parent46ed43e67df6648c421504146d5bd020dd0de4eb
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