From: Joe Perches Date: Fri, 13 Mar 2020 12:57:37 +0000 (-0700) Subject: drm/amd/powerplay: Move fallthrough; into containing #ifdef/#endif X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=3738de347405062255369f8f0bbddd2f0afd3275;p=linux.git drm/amd/powerplay: Move fallthrough; into containing #ifdef/#endif The automated conversion of /* fallthrough */ comments converted a comment outside of an #ifdef/#endif case block that should be inside the block. Move the fallthrough inside the block to silence the warning. Signed-off-by: Joe Perches Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c index fc5236c40311b..7740488999df7 100644 --- a/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c @@ -3702,8 +3702,8 @@ static int smu7_request_link_speed_change_before_state_change( case PP_PCIEGen2: if (0 == amdgpu_acpi_pcie_performance_request(hwmgr->adev, PCIE_PERF_REQ_GEN2, false)) break; -#endif fallthrough; +#endif default: data->force_pcie_gen = smu7_get_current_pcie_speed(hwmgr); break;